Struct orkhon::prelude::ops::nn::tract_linalg::Ops[]

pub struct Ops {
    pub mmm_f32: Box<dyn Fn(usize, usize, usize) + 'static + Send + Sync, Global>,
    pub qmmm_i8_i32: Box<dyn Fn(usize, usize, usize) + 'static + Send + Sync, Global>,
    pub qmmm_u8_i32: Box<dyn Fn(usize, usize, usize) + 'static + Send + Sync, Global>,
    pub qmmm_u8_u8: Box<dyn Fn(usize, usize, usize) + 'static + Send + Sync, Global>,
    pub qmmm_i8_i8: Box<dyn Fn(usize, usize, usize) + 'static + Send + Sync, Global>,
    pub qmmm_i8_u8_i32: Box<dyn Fn(usize, usize, usize) + 'static + Send + Sync, Global>,
    pub sigmoid_f32: Box<dyn Fn() + 'static + Send + Sync, Global>,
    pub tanh_f32: Box<dyn Fn() + 'static + Send + Sync, Global>,
    pub lut_u8: Box<dyn Fn(&[u8]) + 'static + Send + Sync, Global>,
    // some fields omitted
}

Fields

mmm_f32: Box<dyn Fn(usize, usize, usize) + 'static + Send + Sync, Global>qmmm_i8_i32: Box<dyn Fn(usize, usize, usize) + 'static + Send + Sync, Global>qmmm_u8_i32: Box<dyn Fn(usize, usize, usize) + 'static + Send + Sync, Global>qmmm_u8_u8: Box<dyn Fn(usize, usize, usize) + 'static + Send + Sync, Global>qmmm_i8_i8: Box<dyn Fn(usize, usize, usize) + 'static + Send + Sync, Global>qmmm_i8_u8_i32: Box<dyn Fn(usize, usize, usize) + 'static + Send + Sync, Global>sigmoid_f32: Box<dyn Fn() + 'static + Send + Sync, Global>tanh_f32: Box<dyn Fn() + 'static + Send + Sync, Global>lut_u8: Box<dyn Fn(&[u8]) + 'static + Send + Sync, Global>

Implementations

impl Ops

pub fn mmm(
    &self,
    a: DatumType,
    b: DatumType,
    c: DatumType,
    m: usize,
    k: usize,
    n: usize
) -> Option<Box<dyn MatMatMul + 'static, Global>>

Auto Trait Implementations

impl !RefUnwindSafe for Ops[src]

impl Send for Ops[src]

impl Sync for Ops[src]

impl Unpin for Ops[src]

impl !UnwindSafe for Ops[src]

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> Downcast for T where
    T: Any

impl<T> DowncastSync for T where
    T: Send + Sync + Any

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

impl<T, U> Into<U> for T where
    U: From<T>, 
[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.