pub struct SymbolId(pub u32);Expand description
Unique identifier for a symbolic dimension.
Two dimensions that share the same protobuf dim-param name (e.g.
"batch_size") are interned to the same SymbolId by the loader so that
shape reasoning can equate them.
Tuple Fields§
§0: u32Trait Implementations§
impl Copy for SymbolId
impl Eq for SymbolId
impl StructuralPartialEq for SymbolId
Auto Trait Implementations§
impl Freeze for SymbolId
impl RefUnwindSafe for SymbolId
impl Send for SymbolId
impl Sync for SymbolId
impl Unpin for SymbolId
impl UnsafeUnpin for SymbolId
impl UnwindSafe for SymbolId
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