Struct tract_linalg::frame::mmm::MatMatMulImpl [−][src]
pub struct MatMatMulImpl<K, TI> where
TI: Copy + Add + Mul + Zero + Debug + 'static,
K: MatMatMulKer<TI> + 'static, { /* fields omitted */ }
Implementations
impl<K, TI> MatMatMulImpl<K, TI> where
TI: Copy + Add + Mul + Zero + Debug + 'static,
K: MatMatMulKer<TI> + 'static,
impl<K, TI> MatMatMulImpl<K, TI> where
TI: Copy + Add + Mul + Zero + Debug + 'static,
K: MatMatMulKer<TI> + 'static,
Trait Implementations
impl<K, TI> Debug for MatMatMulImpl<K, TI> where
TI: Copy + Add + Mul + Zero + Debug + 'static,
K: MatMatMulKer<TI> + 'static,
impl<K, TI> Debug for MatMatMulImpl<K, TI> where
TI: Copy + Add + Mul + Zero + Debug + 'static,
K: MatMatMulKer<TI> + 'static,
impl<K, TI> Display for MatMatMulImpl<K, TI> where
TI: Copy + Add + Mul + Zero + Debug + 'static,
K: MatMatMulKer<TI>,
impl<K, TI> Display for MatMatMulImpl<K, TI> where
TI: Copy + Add + Mul + Zero + Debug + 'static,
K: MatMatMulKer<TI>,
impl<K, TI> MatMatMul for MatMatMulImpl<K, TI> where
TI: Datum + Copy + Add + Mul<Output = TI> + Zero + Debug + 'static + Neg<Output = TI>,
K: MatMatMulKer<TI> + 'static,
i32: AsPrimitive<TI>,
usize: AsPrimitive<TI>,
impl<K, TI> MatMatMul for MatMatMulImpl<K, TI> where
TI: Datum + Copy + Add + Mul<Output = TI> + Zero + Debug + 'static + Neg<Output = TI>,
K: MatMatMulKer<TI> + 'static,
i32: AsPrimitive<TI>,
usize: AsPrimitive<TI>,
unsafe fn b_from_data_and_offsets(
&self,
item_size: usize,
rows_offsets: &[isize],
cols_offsets: &[isize]
) -> MatrixStoreSpec
unsafe fn c_from_data_and_strides(
&self,
item_size: usize,
row_stride: isize,
col_stride: isize
) -> MatrixStoreSpec
unsafe fn run_with_scratch_space(
&self,
m: usize,
k: usize,
n: usize,
scratch: &mut dyn ScratchSpace,
a: &MatrixStore<'_, '_>,
b: &MatrixStore<'_, '_>,
c: &mut MatrixStore<'_, '_>,
non_linear: &[FusedSpec<'_>]
) -> Result<()>
unsafe fn run(
&self,
m: usize,
k: usize,
n: usize,
a: &MatrixStore<'_, '_>,
b: &MatrixStore<'_, '_>,
c: &mut MatrixStore<'_, '_>,
non_linear: &[FusedSpec<'_>]
) -> Result<()>
impl<K, TI> Send for MatMatMulImpl<K, TI> where
TI: Copy + Add + Mul + Zero + Debug + 'static,
K: MatMatMulKer<TI> + 'static,
impl<K, TI> Sync for MatMatMulImpl<K, TI> where
TI: Copy + Add + Mul + Zero + Debug + 'static,
K: MatMatMulKer<TI> + 'static,
Auto Trait Implementations
impl<K, TI> !RefUnwindSafe for MatMatMulImpl<K, TI>
impl<K, TI> Unpin for MatMatMulImpl<K, TI> where
K: Unpin,
TI: Unpin,
impl<K, TI> !UnwindSafe for MatMatMulImpl<K, TI>
Blanket Implementations
Mutably borrows from an owned value. Read more
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
. Read more
Convert Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
. Read more
Convert &Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s. Read more
Convert &mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s. Read more