Expand description
This prelude is meant for code using tract.
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
- Graph
- Main model class
- InletId
- Identifier for a node input in the graph.
- Model
Patch - A change to apply to a model.
- Node
- A Node in an Model.
- Opaque
- Outlet
- Information for each outlet of a node
- Outlet
Id - Identifier for a node output in the graph.
- Plan
Options - Rewriter
- Shape
Fact - Simple
Plan - Simple
State - Symbol
- Symbol
Scope - Symbol
Values - Tensor
- Tensor is a concrete tensor in tract.
- Typed
Fact - Fully determined tensor information for TypedModel.
- f16
- A 16-bit floating point type implementing the IEEE 754-2008 standard
binary16
a.k.a “half” format.
Enums§
Traits§
- Datum
- Datum
Ext - Datum
Type Ext - Fact
- Type information about a tensor: shape, and element type, in various state of determination.
- Framework
- A Framework that translate its model to tract core model.
- Into
ArcTensor - Convenient conversion to Arc
. - IntoT
Value - Into
Tensor - Convenient conversion to Tensor.
- Op
- A base operation
- Special
Ops - ToDim
- Convenience trait to convert values to TDim.
- TypedOp
Functions§
- arr4
- natural_
strides - rctensor0
- rctensor1
- rctensor2
- rctensor3
- rctensor4
- round_
ties_ to_ even - tensor0
- tensor1
- tensor2
- tensor3
- tensor4
Type Aliases§
- Runnable
Model - A runnable model with fixed inputs and outputs.
- TVec
- A Smallvec instantiation with 4 embeddable values.
- Tract
Error - Tract
Result - Typed
Frozen Simple State - An execution state for TypedModel, frozen (and Send).
- Typed
Model - A model with completely determined types and shapes.
- Typed
Model Patch - A ModelPatch for TypedModel.
- Typed
Node - Node for TypedModel graph
- Typed
Runnable Model - A runnable TypedModel (new name for SimplePlan).
- Typed
Simple Plan - An execution plan for TypedModel.
- Typed
Simple State - An execution state for TypedModel.