pub enum InputIdent {
Lhs,
Rhs,
}
Expand description
Identifier for the two input tensors in a matmul.
Useful to specialize some functions depending on the tensor
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for InputIdent
impl Clone for InputIdent
Source§fn clone(&self) -> InputIdent
fn clone(&self) -> InputIdent
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for InputIdent
impl Debug for InputIdent
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.
Source§impl Hash for InputIdent
impl Hash for InputIdent
Source§impl PartialEq for InputIdent
impl PartialEq for InputIdent
impl Copy for InputIdent
impl Eq for InputIdent
impl StructuralPartialEq for InputIdent
Auto Trait Implementations§
impl Freeze for InputIdent
impl RefUnwindSafe for InputIdent
impl Send for InputIdent
impl Sync for InputIdent
impl Unpin for InputIdent
impl UnwindSafe for InputIdent
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