pub enum Ident {
Lhs,
Rhs,
Out,
}
Expand description
Identifier for all three tensors in a matmul
Useful to specialize some functions depending on the tensor
Variants§
Implementations§
Source§impl Ident
impl Ident
pub fn as_input_ident(&self) -> InputIdent
Trait Implementations§
Source§impl From<InputIdent> for Ident
impl From<InputIdent> for Ident
Source§fn from(value: InputIdent) -> Self
fn from(value: InputIdent) -> Self
Converts to this type from the input type.
impl Copy for Ident
impl Eq for Ident
impl StructuralPartialEq for Ident
Auto Trait Implementations§
impl Freeze for Ident
impl RefUnwindSafe for Ident
impl Send for Ident
impl Sync for Ident
impl Unpin for Ident
impl UnwindSafe for Ident
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