Struct tract_pulse::internal::tract_core::ops::matmul::MatMul[]

pub struct MatMul {
    pub a_trans: bool,
    pub b_trans: bool,
    pub c_trans: bool,
}

The binary op. It will declutter to MatMulUnary if either A or B is constant.

TODO: implemnent TypedOp fully to play nice with optimizer. TODO: codegen fails if A and B are variable inputs.

Fields

a_trans: boolb_trans: boolc_trans: bool

Implementations

impl MatMul

pub fn with_a_trans(self, a_trans: bool) -> MatMul

pub fn with_b_trans(self, b_trans: bool) -> MatMul

pub fn with_c_trans(self, c_trans: bool) -> MatMul

Trait Implementations

impl Clone for MatMul

impl Debug for MatMul

impl Default for MatMul

impl DynHash for MatMul

impl EvalOp for MatMul

impl Hash for MatMul

impl Op for MatMul

impl TypedOp for MatMul

Auto Trait Implementations

impl RefUnwindSafe for MatMul

impl Send for MatMul

impl Sync for MatMul

impl Unpin for MatMul

impl UnwindSafe for MatMul

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
[src]

impl<T> DowncastSync for T where
    T: Any + Send + Sync
[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, 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.