Re-exports§
pub use crate::dyn_eq;pub use crate::ulp::UlpFloat;pub use crate::ulp::ulp_distance;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-
anyhowerror 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-
anyhowerror value.
Structs§
- Tensor
View - A read-only, type-erased window into a tensor’s plain storage: the bytes from the
view’s origin to the end of the storage, read through
shapeandstrides(in items, never negative). - Tensor
View Mut - The mutable counterpart of
TensorView, obtained from a&mut Tensor(or split out of raw bytes of a type where any bit pattern is valid), so writes through it never alias another live view.
Enums§
Traits§
- Clamp
Cast - DimLike
- A super-trait for value acting as tensor dimensions in tract.
- Exotic
Fact - Tract
Error Context - Provides the
contextmethod forResult.