Module tract_hir::internal [−][src]
Re-exports
pub use super::prelude::*;
pub use crate::infer::*;
pub use crate::ops::binary::IntoHir;
pub use crate::ops::expandable::expand;
pub use crate::ops::expandable::inference_wrap;
pub use crate::ops::expandable::Expansion;
pub use tract_core;
pub use shapefactoid;
pub use to_typed;
Modules
Evaluation order for nodes.
Extra iterator adaptors, functions and macros.
The ndarray
crate provides an n-dimensional container for general elements
and for numerics.
Numeric traits for generic mathematics
Macros
Derive macro generating an impl of the trait Hash
.
Construct an ad-hoc error from a string or existing non-anyhow
error
value.
Return early with an error.
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’.
Translation invariance property.
Main model class
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.
Fully determined tensor information for TypedModel.
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.
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 for Result
.
Functions
Find an evaluation order for a model, using its default inputs and outputs as boundaries.
Type Definitions
A runnable model with fixed inputs and outputs.
A Smallvec instantiation with 4 embeddable values.
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.