[−]Struct tract_tensorflow::prelude::tract_linalg::frame::mmm::MatMatMulImpl
Fields
m: usize
k: usize
n: usize
a_storage: MatrixStoreSpec
b_storage: MatrixStoreSpec
c_storage: MatrixStoreSpec
Implementations
impl<K, TA, TB, TC, TI> MatMatMulImpl<K, TA, TB, TC, TI> where
K: MatMatMulKer<TA, TB, TC, TI> + 'static,
TA: Copy + Zero + 'static,
TB: Copy + Zero + 'static,
TC: Copy + Debug + 'static,
TI: Copy + Add<TI> + Mul<TI> + Zero + Debug + 'static,
K: MatMatMulKer<TA, TB, TC, TI> + 'static,
TA: Copy + Zero + 'static,
TB: Copy + Zero + 'static,
TC: Copy + Debug + 'static,
TI: Copy + Add<TI> + Mul<TI> + Zero + Debug + 'static,
pub fn new(m: usize, k: usize, n: usize) -> MatMatMulImpl<K, TA, TB, TC, TI>
Trait Implementations
impl<K, TA, TB, TC, TI> Clone for MatMatMulImpl<K, TA, TB, TC, TI> where
K: Clone + MatMatMulKer<TA, TB, TC, TI> + 'static,
TA: Clone + Copy + Zero + 'static,
TB: Clone + Copy + Zero + 'static,
TC: Clone + Copy + Debug + 'static,
TI: Clone + Copy + Add<TI> + Mul<TI> + Zero + Debug + 'static,
K: Clone + MatMatMulKer<TA, TB, TC, TI> + 'static,
TA: Clone + Copy + Zero + 'static,
TB: Clone + Copy + Zero + 'static,
TC: Clone + Copy + Debug + 'static,
TI: Clone + Copy + Add<TI> + Mul<TI> + Zero + Debug + 'static,
fn clone(&self) -> MatMatMulImpl<K, TA, TB, TC, TI>
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<K, TA, TB, TC, TI> Debug for MatMatMulImpl<K, TA, TB, TC, TI> where
K: Debug + MatMatMulKer<TA, TB, TC, TI> + 'static,
TA: Debug + Copy + Zero + 'static,
TB: Debug + Copy + Zero + 'static,
TC: Debug + Copy + 'static,
TI: Debug + Copy + Add<TI> + Mul<TI> + Zero + 'static,
K: Debug + MatMatMulKer<TA, TB, TC, TI> + 'static,
TA: Debug + Copy + Zero + 'static,
TB: Debug + Copy + Zero + 'static,
TC: Debug + Copy + 'static,
TI: Debug + Copy + Add<TI> + Mul<TI> + Zero + 'static,
impl<K, TA, TB, TC, TI> Display for MatMatMulImpl<K, TA, TB, TC, TI> where
K: MatMatMulKer<TA, TB, TC, TI>,
TA: Copy + Zero + 'static,
TB: Copy + Zero + 'static,
TC: Copy + Debug + 'static,
TI: Copy + Add<TI> + Mul<TI> + Zero + Debug + 'static,
K: MatMatMulKer<TA, TB, TC, TI>,
TA: Copy + Zero + 'static,
TB: Copy + Zero + 'static,
TC: Copy + Debug + 'static,
TI: Copy + Add<TI> + Mul<TI> + Zero + Debug + 'static,
impl<K, TA, TB, TC, TI> DynHash for MatMatMulImpl<K, TA, TB, TC, TI> where
K: MatMatMulKer<TA, TB, TC, TI>,
TA: Copy + Zero + 'static,
TB: Copy + Zero + 'static,
TC: Copy + Debug + 'static,
TI: Copy + Add<TI> + Mul<TI> + Zero + Debug + 'static,
K: MatMatMulKer<TA, TB, TC, TI>,
TA: Copy + Zero + 'static,
TB: Copy + Zero + 'static,
TC: Copy + Debug + 'static,
TI: Copy + Add<TI> + Mul<TI> + Zero + Debug + 'static,
impl<K, TA, TB, TC, TI> From<MatMatMulImpl<K, TA, TB, TC, TI>> for QMatMatMulImpl<K, TA, TB, TC, TI> where
K: MatMatMulKer<TA, TB, TC, TI> + 'static,
TA: Copy + Zero + SloppyHash + 'static,
TB: Copy + Zero + SloppyHash + 'static,
TC: Copy + Debug + SloppyHash + 'static,
TI: Copy + Add<TI> + Mul<TI> + Zero + Debug + SloppyHash + 'static,
K: MatMatMulKer<TA, TB, TC, TI> + 'static,
TA: Copy + Zero + SloppyHash + 'static,
TB: Copy + Zero + SloppyHash + 'static,
TC: Copy + Debug + SloppyHash + 'static,
TI: Copy + Add<TI> + Mul<TI> + Zero + Debug + SloppyHash + 'static,
fn from(
mmm: MatMatMulImpl<K, TA, TB, TC, TI>
) -> QMatMatMulImpl<K, TA, TB, TC, TI>
mmm: MatMatMulImpl<K, TA, TB, TC, TI>
) -> QMatMatMulImpl<K, TA, TB, TC, TI>
impl<K, TA, TB, TC, TI> Hash for MatMatMulImpl<K, TA, TB, TC, TI> where
K: MatMatMulKer<TA, TB, TC, TI> + 'static,
TA: Copy + Zero + 'static,
TB: Copy + Zero + 'static,
TC: Copy + Debug + 'static,
TI: Copy + Add<TI> + Mul<TI> + Zero + Debug + 'static,
K: MatMatMulKer<TA, TB, TC, TI> + 'static,
TA: Copy + Zero + 'static,
TB: Copy + Zero + 'static,
TC: Copy + Debug + 'static,
TI: Copy + Add<TI> + Mul<TI> + Zero + Debug + 'static,
fn hash<H>(&self, state: &mut H) where
H: Hasher,
H: Hasher,
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl<K, TA, TB, TC, TI> MatMatMul<TA, TB, TC, TI> for MatMatMulImpl<K, TA, TB, TC, TI> where
K: MatMatMulKer<TA, TB, TC, TI> + 'static,
TA: Copy + Zero + Debug + 'static,
TB: Copy + Zero + Debug + 'static,
TC: Copy + Debug + 'static,
TI: Copy + Add<TI> + Mul<TI> + Zero + Debug + 'static,
K: MatMatMulKer<TA, TB, TC, TI> + 'static,
TA: Copy + Zero + Debug + 'static,
TB: Copy + Zero + Debug + 'static,
TC: Copy + Debug + 'static,
TI: Copy + Add<TI> + Mul<TI> + Zero + Debug + 'static,
fn a_pack(&self) -> PackA<TA>
fn b_pack(&self) -> PackB<TB>
fn m(&self) -> usize
fn n(&self) -> usize
fn k(&self) -> usize
fn a_storage(&self) -> &MatrixStoreSpec
fn b_storage(&self) -> &MatrixStoreSpec
fn c_storage(&self) -> &MatrixStoreSpec
unsafe fn b_from_data_and_offsets(
&mut self,
rows_offsets: &[isize],
cols_offsets: &[isize]
)
&mut self,
rows_offsets: &[isize],
cols_offsets: &[isize]
)
unsafe fn b_vec_from_data_and_stride(&mut self, stride: isize)
unsafe fn b_vec_from_data(&mut self)
unsafe fn c_from_data_and_strides(
&mut self,
row_stride: isize,
col_stride: isize
)
&mut self,
row_stride: isize,
col_stride: isize
)
unsafe fn c_vec_from_data_and_stride(&mut self, stride: isize)
unsafe fn c_vec_from_data(&mut self)
unsafe fn run(
&self,
a: *const TA,
b: *const TB,
c: *mut TC,
non_linear: &[FusedSpec<TI>]
)
&self,
a: *const TA,
b: *const TB,
c: *mut TC,
non_linear: &[FusedSpec<TI>]
)
impl<K, TA, TB, TC, TI> Send for MatMatMulImpl<K, TA, TB, TC, TI> where
K: MatMatMulKer<TA, TB, TC, TI> + 'static,
TA: Copy + Zero + 'static,
TB: Copy + Zero + 'static,
TC: Copy + Debug + 'static,
TI: Copy + Add<TI> + Mul<TI> + Zero + Debug + 'static,
K: MatMatMulKer<TA, TB, TC, TI> + 'static,
TA: Copy + Zero + 'static,
TB: Copy + Zero + 'static,
TC: Copy + Debug + 'static,
TI: Copy + Add<TI> + Mul<TI> + Zero + Debug + 'static,
impl<K, TA, TB, TC, TI> Sync for MatMatMulImpl<K, TA, TB, TC, TI> where
K: MatMatMulKer<TA, TB, TC, TI> + 'static,
TA: Copy + Zero + 'static,
TB: Copy + Zero + 'static,
TC: Copy + Debug + 'static,
TI: Copy + Add<TI> + Mul<TI> + Zero + Debug + 'static,
K: MatMatMulKer<TA, TB, TC, TI> + 'static,
TA: Copy + Zero + 'static,
TB: Copy + Zero + 'static,
TC: Copy + Debug + 'static,
TI: Copy + Add<TI> + Mul<TI> + Zero + Debug + 'static,
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,
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,
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,
K: UnwindSafe,
TA: UnwindSafe,
TB: UnwindSafe,
TC: UnwindSafe,
TI: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut Tⓘ
[src]
impl<T> Downcast for T where
T: Any,
T: Any,
fn into_any(self: Box<T>) -> Box<dyn Any + 'static>ⓘ
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
fn as_any(&self) -> &(dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
impl<T> DowncastSync for T where
T: Send + Sync + Any,
T: Send + Sync + Any,
impl<T> DynClone for T where
T: Clone,
[src]
T: Clone,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,