Trait MatmulSpec

Source
pub trait MatmulSpec:
    Send
    + Sync
    + Clone
    + 'static {
    type Precision: MatmulPrecision;
    type Args: MatmulArgs;
}
Expand description

Matrix multiplication spec definiting each element types used in the computation as well as how the arguments are passed to the kernel.

Required Associated Types§

Source

type Precision: MatmulPrecision

Source

type Args: MatmulArgs

How the input and output tensors are passed as arguments.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl<MP: MatmulPrecision, Args: MatmulArgs> MatmulSpec for (MP, Args)

Source§

type Precision = MP

Source§

type Args = Args

Implementors§