pub struct BuiltGraph {
pub graph: Graph,
pub name_map: HashMap<String, ValueId>,
}Expand description
The result of building a graph: the IR graph plus the mapping from ONNX tensor names to the value ids they were assigned (needed by the weight loader).
Fields§
§graph: Graph§name_map: HashMap<String, ValueId>Auto Trait Implementations§
impl Freeze for BuiltGraph
impl RefUnwindSafe for BuiltGraph
impl Send for BuiltGraph
impl Sync for BuiltGraph
impl Unpin for BuiltGraph
impl UnsafeUnpin for BuiltGraph
impl UnwindSafe for BuiltGraph
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more