pub struct ContiguousOperand<T> { /* private fields */ }Expand description
GEMM-ready input operand with contiguous data.
Implementations§
Source§impl<T> ContiguousOperand<T>
impl<T> ContiguousOperand<T>
Sourcepub fn row_stride(&self) -> isize
pub fn row_stride(&self) -> isize
Row (lo-group) stride for the fused 2D matrix.
Sourcepub fn col_stride(&self) -> isize
pub fn col_stride(&self) -> isize
Column (sum/ro-group) stride for the fused 2D matrix.
Sourcepub fn batch_strides(&self) -> &[isize]
pub fn batch_strides(&self) -> &[isize]
Batch dimension strides.
Auto Trait Implementations§
impl<T> Freeze for ContiguousOperand<T>
impl<T> RefUnwindSafe for ContiguousOperand<T>where
T: RefUnwindSafe,
impl<T> !Send for ContiguousOperand<T>
impl<T> !Sync for ContiguousOperand<T>
impl<T> Unpin for ContiguousOperand<T>where
T: Unpin,
impl<T> UnwindSafe for ContiguousOperand<T>where
T: RefUnwindSafe + UnwindSafe,
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
§impl<T> DistributionExt for Twhere
T: ?Sized,
impl<T> DistributionExt for Twhere
T: ?Sized,
fn rand<T>(&self, rng: &mut (impl Rng + ?Sized)) -> Twhere
Self: Distribution<T>,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more