Struct tract_linalg::frame::mmm::MatMatMulImpl
source · pub struct MatMatMulImpl<K, TI>where
TI: LADatum,
K: MatMatMulKer<TI> + 'static,{ /* private fields */ }
Trait Implementations§
source§impl<K, TI> Clone for MatMatMulImpl<K, TI>
impl<K, TI> Clone for MatMatMulImpl<K, TI>
source§fn clone(&self) -> MatMatMulImpl<K, TI>
fn clone(&self) -> MatMatMulImpl<K, TI>
Returns a copy 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<K, TI> Debug for MatMatMulImpl<K, TI>where
TI: LADatum,
K: MatMatMulKer<TI> + 'static,
impl<K, TI> Debug for MatMatMulImpl<K, TI>where
TI: LADatum,
K: MatMatMulKer<TI> + 'static,
source§impl<K, TI> Default for MatMatMulImpl<K, TI>where
TI: LADatum,
K: MatMatMulKer<TI> + 'static,
impl<K, TI> Default for MatMatMulImpl<K, TI>where
TI: LADatum,
K: MatMatMulKer<TI> + 'static,
source§impl<K, TI> Display for MatMatMulImpl<K, TI>where
TI: LADatum,
K: MatMatMulKer<TI>,
impl<K, TI> Display for MatMatMulImpl<K, TI>where
TI: LADatum,
K: MatMatMulKer<TI>,
source§impl<K, TI> MatMatMul for MatMatMulImpl<K, TI>where
TI: LADatum,
K: MatMatMulKer<TI> + 'static,
impl<K, TI> MatMatMul for MatMatMulImpl<K, TI>where
TI: LADatum,
K: MatMatMulKer<TI> + 'static,
fn kernel_name(&self) -> &'static str
fn mr(&self) -> usize
fn nr(&self) -> usize
fn a_pack(&self) -> Packer
fn b_pack(&self) -> Packer
fn internal_type(&self) -> DatumType
fn can_fuse(&self, spec: &FusedSpec<'_>) -> bool
unsafe fn c_view(&self, m_axis: usize, n_axis: usize) -> OutputStoreSpec
unsafe fn c_from_data_and_strides( &self, item_size: usize, row_stride: isize, col_stride: isize ) -> OutputStoreSpec
unsafe fn allocate_scratch_space(&self) -> Box<dyn ScratchSpace>
unsafe fn can_use_scratch_space(&self, scratch: &dyn ScratchSpace) -> bool
unsafe fn run_with_scratch_space( &self, m: usize, n: usize, scratch: &mut dyn ScratchSpace, non_linear: &[FusedSpec<'_>] ) -> Result<()>
unsafe fn run( &self, m: usize, n: usize, non_linear: &[FusedSpec<'_>] ) -> Result<()>
impl<K, TI> Send for MatMatMulImpl<K, TI>where
TI: LADatum,
K: MatMatMulKer<TI> + 'static,
impl<K, TI> Sync for MatMatMulImpl<K, TI>where
TI: LADatum,
K: MatMatMulKer<TI> + 'static,
Auto Trait Implementations§
impl<K, TI> Freeze for MatMatMulImpl<K, TI>
impl<K, TI> RefUnwindSafe for MatMatMulImpl<K, TI>where
K: RefUnwindSafe,
TI: RefUnwindSafe,
impl<K, TI> Unpin for MatMatMulImpl<K, TI>
impl<K, TI> UnwindSafe for MatMatMulImpl<K, TI>where
K: UnwindSafe,
TI: 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
source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
then be further downcast
into Box<ConcreteType>
where ConcreteType
implements Trait
.source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
.source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s.source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s.source§impl<T> DowncastSync for T
impl<T> DowncastSync for 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