Module tract_core::prelude [−][src]
Expand description
This prelude is meant for code using tract.
Re-exports
pub use crate::framework::Framework; | |
pub use crate::model::*; | |
pub use crate::plan::SimplePlan; | |
pub use crate::plan::SimpleState; | |
pub use crate::TractError; | |
pub use crate::TractResult; | |
pub use ndarray as tract_ndarray; | |
pub use num_traits as tract_num_traits; | |
pub use tract_data; | |
pub use tract_linalg; |
Modules
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 | |
Symbol | |
SymbolValues | |
Tensor | Tensor is a concrete tensor in tract. |
f16 |
Enums
DatumType | |
TDim |
Traits
Datum | |
IntoArcTensor | Convenient conversion to Arc |
IntoTensor | Convenient conversion to Tensor. |
Functions
arr4 | |
natural_strides | |
rctensor0 | |
rctensor1 | |
rctensor2 | |
rctensor3 | |
rctensor4 | |
tensor0 | |
tensor1 | |
tensor2 | |
tensor3 | |
tensor4 |
Type Definitions
TVec | A Smallvec instantiation with 4 embeddable values. |