Re-exports§
pub use crate::fact::PulsedFact;
pub use crate::model::PulsedModel;
pub use crate::model::PulsedModelExt;
pub use crate::ops::OpPulsifier;
pub use crate::ops::PulsedOp;
pub use tract_pulse_opl::tract_nnef;
Modules§
- Utilities for formatting and printing
String
s. - Tract
Macros§
- Construct an ad-hoc error from a string or existing non-
anyhow
error value. - Return early with an error.
- Return early with an error if a condition is not satisfied.
- Construct an ad-hoc error from a string or existing non-
anyhow
error value.
Structs§
- A thread-safe reference-counting pointer. ‘Arc’ stands for ‘Atomically Reference Counted’.
- Main model class
- A hash map implemented with quadratic probing and SIMD lookup.
- Identifier for a node input in the graph.
- A change to apply to a model.
- A Node in an Model.
- Information for each outlet of a node
- Identifier for a node output in the graph.
- Zero-sized type used to mark things that “act like” they own a
T
. - Tensor is a concrete tensor in tract.
- A
TypeId
represents a globally unique identifier for a type. - Fully determined tensor information for TypedModel.
- A 16-bit floating point type implementing the IEEE 754-2008 standard
binary16
a.k.a “half” format.
Enums§
- A clone-on-write smart pointer.
- Level of precision to be expected in implementations comparisons.
Traits§
- A super-trait for value acting as tensor dimensions in tract.
- Supports conversion to
Any
. Traits to be extended byimpl_downcast!
must extendDowncast
. - Type information about a tensor: shape, and element type, in various state of determination.
- A Framework that translate its model to tract core model.
- A hashable type.
- Convenient conversion to Arc
. - Convenient conversion to Tensor.
- A base operation
- Convenience trait to convert values to TDim.
- Provides the
context
method forResult
.
Functions§
Type Aliases§
- A runnable model with fixed inputs and outputs.
- A Smallvec instantiation with 4 embeddable values.
- An execution state for TypedModel, frozen (and Send).
- A model with completely determined types and shapes.
- A ModelPatch for TypedModel.
- Node for TypedModel graph
- A runnable TypedModel (new name for SimplePlan).
- An execution plan for TypedModel.
- An execution state for TypedModel.
Derive Macros§
- Derive macro generating an impl of the trait
Hash
.