Module internal

Module internal 

Source

Re-exports§

pub use ndarray as tract_ndarray;
pub use num_integer;
pub use num_traits as tract_num_traits;
pub use smallvec as tract_smallvec;
pub use crate::prelude::*;

Macros§

anyhow
Construct an ad-hoc error from a string or existing non-anyhow error value.
bail
Return early with an error.
ensure
Return early with an error if a condition is not satisfied.
format_err
Construct an ad-hoc error from a string or existing non-anyhow error value.

Structs§

TensorView

Enums§

Approximation

Traits§

ClampCast
DimLike
A super-trait for value acting as tensor dimensions in tract.
OpaqueFact
OpaquePayload
TractErrorContext
Provides the context method for Result.

Functions§

parse_tdim
solve_for
vector_size

Type Aliases§

StaticName