pub struct CpuGemmUninitRequest<'request, 'input> { /* private fields */ }Expand description
Validated output-free borrowed GEMM request for full-overwrite destinations.
Mirrors CpuGemmRequest minus the writable output: the destination is
provided separately as &mut [MaybeUninit<u8>] to CpuUninitGemmProvider
callers. This request is only used for beta == 0 (full-overwrite)
accumulations, where the destination is never read.
§Examples
use tenferro_cpu::provider::CpuGemmUninitRequest;
assert!(request.batch_count() >= 1);Output-free prepared GEMM request for uninitialized full-overwrite
execution (see CpuUninitGemmProvider::gemm_into_uninit).
§Examples
use tenferro_cpu::provider::CpuGemmUninitRequest;Implementations§
Source§impl<'request, 'input> CpuGemmUninitRequest<'request, 'input>
impl<'request, 'input> CpuGemmUninitRequest<'request, 'input>
Sourcepub fn lhs(&self) -> &TensorRead<'input>
pub fn lhs(&self) -> &TensorRead<'input>
Return the lhs of this output-free request.
§Examples
use tenferro_cpu::provider::CpuGemmUninitRequest;Sourcepub fn rhs(&self) -> &TensorRead<'input>
pub fn rhs(&self) -> &TensorRead<'input>
Return the rhs of this output-free request.
§Examples
use tenferro_cpu::provider::CpuGemmUninitRequest;Sourcepub fn rows(&self) -> usize
pub fn rows(&self) -> usize
Return the rows of this output-free request.
§Examples
use tenferro_cpu::provider::CpuGemmUninitRequest;Sourcepub fn columns(&self) -> usize
pub fn columns(&self) -> usize
Return the columns of this output-free request.
§Examples
use tenferro_cpu::provider::CpuGemmUninitRequest;Sourcepub fn contracted(&self) -> usize
pub fn contracted(&self) -> usize
Return the contracted of this output-free request.
§Examples
use tenferro_cpu::provider::CpuGemmUninitRequest;Sourcepub fn batch_count(&self) -> usize
pub fn batch_count(&self) -> usize
Return the batch_count of this output-free request.
§Examples
use tenferro_cpu::provider::CpuGemmUninitRequest;Sourcepub fn lhs_layout(&self) -> CpuBatchedMatrixLayout
pub fn lhs_layout(&self) -> CpuBatchedMatrixLayout
Return the lhs_layout of this output-free request.
§Examples
use tenferro_cpu::provider::CpuGemmUninitRequest;Sourcepub fn rhs_layout(&self) -> CpuBatchedMatrixLayout
pub fn rhs_layout(&self) -> CpuBatchedMatrixLayout
Return the rhs_layout of this output-free request.
§Examples
use tenferro_cpu::provider::CpuGemmUninitRequest;Sourcepub fn output_layout(&self) -> CpuBatchedMatrixLayout
pub fn output_layout(&self) -> CpuBatchedMatrixLayout
Return the output_layout of this output-free request.
§Examples
use tenferro_cpu::provider::CpuGemmUninitRequest;Sourcepub fn accumulation(&self) -> DotGeneralAccumulation
pub fn accumulation(&self) -> DotGeneralAccumulation
Return the accumulation of this output-free request.
§Examples
use tenferro_cpu::provider::CpuGemmUninitRequest;Trait Implementations§
Auto Trait Implementations§
impl<'request, 'input> !RefUnwindSafe for CpuGemmUninitRequest<'request, 'input>
impl<'request, 'input> !UnwindSafe for CpuGemmUninitRequest<'request, 'input>
impl<'request, 'input> Freeze for CpuGemmUninitRequest<'request, 'input>
impl<'request, 'input> Send for CpuGemmUninitRequest<'request, 'input>
impl<'request, 'input> Sync for CpuGemmUninitRequest<'request, 'input>
impl<'request, 'input> Unpin for CpuGemmUninitRequest<'request, 'input>
impl<'request, 'input> UnsafeUnpin for CpuGemmUninitRequest<'request, 'input>
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
impl<T, U> Imply<T> for U
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>
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>
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