Struct tract_linalg::generic::mmm::GenericMmm4x1
source · pub struct GenericMmm4x1<TA, TB, TI>(/* private fields */)
where
TA: Datum + Copy + Debug + AsPrimitive<TI>,
TB: Datum + Copy + Debug + AsPrimitive<TI>,
TI: LADatum + ScaleShiftAndRound;
Trait Implementations§
source§impl<TA, TB, TI> Clone for GenericMmm4x1<TA, TB, TI>where
TA: Datum + Copy + Debug + AsPrimitive<TI> + Clone,
TB: Datum + Copy + Debug + AsPrimitive<TI> + Clone,
TI: LADatum + ScaleShiftAndRound + Clone,
impl<TA, TB, TI> Clone for GenericMmm4x1<TA, TB, TI>where
TA: Datum + Copy + Debug + AsPrimitive<TI> + Clone,
TB: Datum + Copy + Debug + AsPrimitive<TI> + Clone,
TI: LADatum + ScaleShiftAndRound + Clone,
source§fn clone(&self) -> GenericMmm4x1<TA, TB, TI>
fn clone(&self) -> GenericMmm4x1<TA, TB, 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<TA, TB, TI> Debug for GenericMmm4x1<TA, TB, TI>where
TA: Datum + Copy + Debug + AsPrimitive<TI> + Debug,
TB: Datum + Copy + Debug + AsPrimitive<TI> + Debug,
TI: LADatum + ScaleShiftAndRound + Debug,
impl<TA, TB, TI> Debug for GenericMmm4x1<TA, TB, TI>where
TA: Datum + Copy + Debug + AsPrimitive<TI> + Debug,
TB: Datum + Copy + Debug + AsPrimitive<TI> + Debug,
TI: LADatum + ScaleShiftAndRound + Debug,
source§impl<TA, TB, TI> MatMatMulKer<TI> for GenericMmm4x1<TA, TB, TI>where
TA: Datum + Copy + Debug + AsPrimitive<TI>,
TB: Datum + Copy + Debug + AsPrimitive<TI>,
TI: LADatum + ScaleShiftAndRound,
usize: AsPrimitive<TI>,
impl<TA, TB, TI> MatMatMulKer<TI> for GenericMmm4x1<TA, TB, TI>where
TA: Datum + Copy + Debug + AsPrimitive<TI>,
TB: Datum + Copy + Debug + AsPrimitive<TI>,
TI: LADatum + ScaleShiftAndRound,
usize: AsPrimitive<TI>,
fn name() -> &'static str
fn mr() -> usize
fn nr() -> usize
fn end_padding_packed_a() -> usize
fn end_padding_packed_b() -> usize
fn alignment_bytes_packed_a() -> usize
fn alignment_bytes_packed_b() -> usize
fn kernel(spec: &[FusedKerSpec<TI>]) -> isize
fn prefetch(ptr: *const u8, len: usize)
fn mmm() -> Box<dyn MatMatMul>
fn can_fuse(spec: &FusedSpec<'_>) -> bool
impl<TA, TB, TI> Copy for GenericMmm4x1<TA, TB, TI>where
TA: Datum + Copy + Debug + AsPrimitive<TI> + Copy,
TB: Datum + Copy + Debug + AsPrimitive<TI> + Copy,
TI: LADatum + ScaleShiftAndRound + Copy,
impl<TA, TB, TI> Send for GenericMmm4x1<TA, TB, TI>where
TA: Datum + Copy + Debug + AsPrimitive<TI>,
TB: Datum + Copy + Debug + AsPrimitive<TI>,
TI: LADatum + ScaleShiftAndRound,
impl<TA, TB, TI> Sync for GenericMmm4x1<TA, TB, TI>where
TA: Datum + Copy + Debug + AsPrimitive<TI>,
TB: Datum + Copy + Debug + AsPrimitive<TI>,
TI: LADatum + ScaleShiftAndRound,
Auto Trait Implementations§
impl<TA, TB, TI> Freeze for GenericMmm4x1<TA, TB, TI>
impl<TA, TB, TI> RefUnwindSafe for GenericMmm4x1<TA, TB, TI>
impl<TA, TB, TI> Unpin for GenericMmm4x1<TA, TB, TI>
impl<TA, TB, TI> UnwindSafe for GenericMmm4x1<TA, TB, TI>
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