[][src]Struct tract_linalg::frame::mmm::MatMatMulImpl

pub struct MatMatMulImpl<K, TA, TB, TC, TI> where
    TA: Copy + Zero + 'static,
    TB: Copy + Zero + 'static,
    TC: Copy + Debug + 'static,
    TI: Copy + Add + Mul + Zero + Debug + 'static,
    K: MatMatMulKer<TA, TB, TC, TI> + 'static, 
{ pub m: usize, pub k: usize, pub n: usize, pub a_storage: MatrixStoreSpec, pub b_storage: MatrixStoreSpec, pub c_storage: MatrixStoreSpec, // some fields omitted }

Fields

m: usizek: usizen: usizea_storage: MatrixStoreSpecb_storage: MatrixStoreSpecc_storage: MatrixStoreSpec

Implementations

impl<K, TA, TB, TC, TI> MatMatMulImpl<K, TA, TB, TC, TI> where
    TA: Copy + Zero + 'static,
    TB: Copy + Zero + 'static,
    TC: Copy + Debug + 'static,
    TI: Copy + Add + Mul + Zero + Debug + 'static,
    K: MatMatMulKer<TA, TB, TC, TI> + 'static, 
[src]

pub fn new(m: usize, k: usize, n: usize) -> MatMatMulImpl<K, TA, TB, TC, TI>[src]

Trait Implementations

impl<K: Clone, TA: Clone, TB: Clone, TC: Clone, TI: Clone> Clone for MatMatMulImpl<K, TA, TB, TC, TI> where
    TA: Copy + Zero + 'static,
    TB: Copy + Zero + 'static,
    TC: Copy + Debug + 'static,
    TI: Copy + Add + Mul + Zero + Debug + 'static,
    K: MatMatMulKer<TA, TB, TC, TI> + 'static, 
[src]

impl<K: Debug, TA: Debug, TB: Debug, TC: Debug, TI: Debug> Debug for MatMatMulImpl<K, TA, TB, TC, TI> where
    TA: Copy + Zero + 'static,
    TB: Copy + Zero + 'static,
    TC: Copy + Debug + 'static,
    TI: Copy + Add + Mul + Zero + Debug + 'static,
    K: MatMatMulKer<TA, TB, TC, TI> + 'static, 
[src]

impl<K, TA, TB, TC, TI> Display for MatMatMulImpl<K, TA, TB, TC, TI> where
    TA: Copy + Zero + 'static,
    TB: Copy + Zero + 'static,
    TC: Copy + Debug + 'static,
    TI: Copy + Add + Mul + Zero + Debug + 'static,
    K: MatMatMulKer<TA, TB, TC, TI>, 
[src]

impl<K, TA, TB, TC, TI> DynHash for MatMatMulImpl<K, TA, TB, TC, TI> where
    TA: Copy + Zero + 'static,
    TB: Copy + Zero + 'static,
    TC: Copy + Debug + 'static,
    TI: Copy + Add + Mul + Zero + Debug + 'static,
    K: MatMatMulKer<TA, TB, TC, TI>, 
[src]

impl<K, TA, TB, TC, TI> From<MatMatMulImpl<K, TA, TB, TC, TI>> for QMatMatMulImpl<K, TA, TB, TC, TI> where
    TA: Copy + Zero + SloppyHash + 'static,
    TB: Copy + Zero + SloppyHash + 'static,
    TC: Copy + Debug + SloppyHash + 'static,
    TI: Copy + Add + Mul + Zero + Debug + SloppyHash + 'static,
    K: MatMatMulKer<TA, TB, TC, TI> + 'static, 
[src]

impl<K, TA, TB, TC, TI> Hash for MatMatMulImpl<K, TA, TB, TC, TI> where
    TA: Copy + Zero + 'static,
    TB: Copy + Zero + 'static,
    TC: Copy + Debug + 'static,
    TI: Copy + Add + Mul + Zero + Debug + 'static,
    K: MatMatMulKer<TA, TB, TC, TI> + 'static, 
[src]

impl<K, TA, TB, TC, TI> MatMatMul<TA, TB, TC, TI> for MatMatMulImpl<K, TA, TB, TC, TI> where
    TA: Copy + Zero + Debug + 'static,
    TB: Copy + Zero + Debug + 'static,
    TC: Copy + Debug + 'static,
    TI: Copy + Add + Mul + Zero + Debug + 'static,
    K: MatMatMulKer<TA, TB, TC, TI> + 'static, 
[src]

impl<K, TA, TB, TC, TI> Send for MatMatMulImpl<K, TA, TB, TC, TI> where
    TA: Copy + Zero + 'static,
    TB: Copy + Zero + 'static,
    TC: Copy + Debug + 'static,
    TI: Copy + Add + Mul + Zero + Debug + 'static,
    K: MatMatMulKer<TA, TB, TC, TI> + 'static, 
[src]

impl<K, TA, TB, TC, TI> Sync for MatMatMulImpl<K, TA, TB, TC, TI> where
    TA: Copy + Zero + 'static,
    TB: Copy + Zero + 'static,
    TC: Copy + Debug + 'static,
    TI: Copy + Add + Mul + Zero + Debug + 'static,
    K: MatMatMulKer<TA, TB, TC, TI> + 'static, 
[src]

Auto Trait Implementations

impl<K, TA, TB, TC, TI> RefUnwindSafe for MatMatMulImpl<K, TA, TB, TC, TI> where
    K: RefUnwindSafe,
    TA: RefUnwindSafe,
    TB: RefUnwindSafe,
    TC: RefUnwindSafe,
    TI: RefUnwindSafe

impl<K, TA, TB, TC, TI> Unpin for MatMatMulImpl<K, TA, TB, TC, TI> where
    K: Unpin,
    TA: Unpin,
    TB: Unpin,
    TC: Unpin,
    TI: Unpin

impl<K, TA, TB, TC, TI> UnwindSafe for MatMatMulImpl<K, TA, TB, TC, TI> where
    K: UnwindSafe,
    TA: UnwindSafe,
    TB: UnwindSafe,
    TC: UnwindSafe,
    TI: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DynClone for T where
    T: Clone
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.