pub struct Output {
pub name: String,
pub type_node: &'static TypeNode,
}Expand description
Handle passed between DSL methods. Carries the recorded ONNX
value name plus a &'static pointer to the canonical
TypeNode of the value’s type.
Fields§
§name: StringONNX value name. Matches a FunctionProto.input entry, a
NodeProto.output entry, or a next_site_name() mint.
type_node: &'static TypeNodeStatic TypeNode reference. Pointer equality is meaningful
- every canonical type lives in a single
static.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Output
impl RefUnwindSafe for Output
impl Send for Output
impl Sync for Output
impl Unpin for Output
impl UnsafeUnpin for Output
impl UnwindSafe for Output
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