Expand description
This prelude is meant for code using tract.
Re-exports§
pub use crate::framework::Framework;
pub use crate::plan::PlanOptions;
pub use crate::plan::SimplePlan;
pub use crate::plan::SimpleState;
pub use crate::value::IntoTValue;
pub use crate::value::TValue;
pub use ndarray as tract_ndarray;
pub use num_traits as tract_num_traits;
pub use tract_data;
pub use tract_linalg;
pub use crate::model::*;
Modules§
- multithread
- tract_
itertools - Extra iterator adaptors, functions and macros.
Macros§
- dispatch_
copy - dispatch_
copy_ by_ size - dispatch_
datum - dispatch_
datum_ by_ size - dispatch_
floatlike - dispatch_
hash - dispatch_
numbers - dispatch_
signed - tvec
Structs§
- Arc
- A thread-safe reference-counting pointer. ‘Arc’ stands for ‘Atomically Reference Counted’.
- Blob
- Opaque
- Symbol
- Symbol
Scope - Symbol
Values - Tensor
- Tensor is a concrete tensor in tract.
- f16
- A 16-bit floating point type implementing the IEEE 754-2008 standard
binary16
a.k.a “half” format.
Enums§
Traits§
- Datum
- Into
ArcTensor - Convenient conversion to Arc
. - Into
Tensor - Convenient conversion to Tensor.
- ToDim
- Convenience trait to convert values to TDim.
Functions§
- arr4
- natural_
strides - rctensor0
- rctensor1
- rctensor2
- rctensor3
- rctensor4
- round_
ties_ to_ even - tensor0
- tensor1
- tensor2
- tensor3
- tensor4
Type Aliases§
- TVec
- A Smallvec instantiation with 4 embeddable values.
- Tract
Error - Tract
Result