pub type TypedModel = Graph<TypedFact, Box<dyn TypedOp>>;
Expand description
A model with completely determined types and shapes.
Aliased Type§
struct TypedModel {
pub nodes: Vec<Node<TypedFact, Box<dyn TypedOp>>>,
pub inputs: Vec<OutletId>,
pub outputs: Vec<OutletId>,
pub outlet_labels: HashMap<OutletId, String>,
pub properties: HashMap<String, Arc<Tensor>>,
pub symbols: SymbolScope,
}
Fields§
§nodes: Vec<Node<TypedFact, Box<dyn TypedOp>>>
all nodes in the model
inputs: Vec<OutletId>
model inputs
outputs: Vec<OutletId>
model outputs
outlet_labels: HashMap<OutletId, String>
outlet labels
properties: HashMap<String, Arc<Tensor>>
model properties
symbols: SymbolScope
symbol scope, including table