pub struct MatmulProblemSize {
pub m: u32,
pub n: u32,
pub k: u32,
}
Fields§
§m: u32
§n: u32
§k: u32
Implementations§
Trait Implementations§
Source§impl Clone for MatmulProblemSize
impl Clone for MatmulProblemSize
Source§fn clone(&self) -> MatmulProblemSize
fn clone(&self) -> MatmulProblemSize
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 CubeType for MatmulProblemSize
impl CubeType for MatmulProblemSize
type ExpandType = MatmulProblemSizeExpand
Source§fn into_mut(scope: &mut Scope, expand: Self::ExpandType) -> Self::ExpandType
fn into_mut(scope: &mut Scope, expand: Self::ExpandType) -> Self::ExpandType
Wrapper around the init method, necessary to type inference.
Source§impl Debug for MatmulProblemSize
impl Debug for MatmulProblemSize
Source§impl From<MatmulProblem> for MatmulProblemSize
impl From<MatmulProblem> for MatmulProblemSize
Source§fn from(problem: MatmulProblem) -> Self
fn from(problem: MatmulProblem) -> Self
Converts to this type from the input type.
Source§impl From<MatmulProblemSize> for (i32, i32, i32)
impl From<MatmulProblemSize> for (i32, i32, i32)
Source§fn from(value: MatmulProblemSize) -> Self
fn from(value: MatmulProblemSize) -> Self
Converts to this type from the input type.
Source§impl From<MatmulProblemSize> for (u16, u16, u16)
impl From<MatmulProblemSize> for (u16, u16, u16)
Source§fn from(value: MatmulProblemSize) -> Self
fn from(value: MatmulProblemSize) -> Self
Converts to this type from the input type.
Source§impl From<MatmulProblemSize> for (u32, u32, u32)
impl From<MatmulProblemSize> for (u32, u32, u32)
Source§fn from(value: MatmulProblemSize) -> Self
fn from(value: MatmulProblemSize) -> Self
Converts to this type from the input type.
Source§impl From<MatmulProblemSize> for (u8, u8, u8)
impl From<MatmulProblemSize> for (u8, u8, u8)
Source§fn from(value: MatmulProblemSize) -> Self
fn from(value: MatmulProblemSize) -> Self
Converts to this type from the input type.
Source§impl From<MatmulProblemSize> for (usize, usize, usize)
impl From<MatmulProblemSize> for (usize, usize, usize)
Source§fn from(value: MatmulProblemSize) -> Self
fn from(value: MatmulProblemSize) -> Self
Converts to this type from the input type.
Source§impl From<MatmulProblemSize> for MatmulKind
impl From<MatmulProblemSize> for MatmulKind
Source§fn from(matmul_size: MatmulProblemSize) -> Self
fn from(matmul_size: MatmulProblemSize) -> Self
Converts to this type from the input type.
Source§impl Hash for MatmulProblemSize
impl Hash for MatmulProblemSize
Source§impl PartialEq for MatmulProblemSize
impl PartialEq for MatmulProblemSize
impl Copy for MatmulProblemSize
impl Eq for MatmulProblemSize
impl StructuralPartialEq for MatmulProblemSize
Auto Trait Implementations§
impl Freeze for MatmulProblemSize
impl RefUnwindSafe for MatmulProblemSize
impl Send for MatmulProblemSize
impl Sync for MatmulProblemSize
impl Unpin for MatmulProblemSize
impl UnwindSafe for MatmulProblemSize
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.