Struct caffe2op_matmul::MatMulOp
source · pub struct MatMulOp<T, Context, Engine> { /* private fields */ }
Expand description
| Matrix multiplication $Y = A * B$, where
| A
has size (M x K), B
has size (K x N),
| and Y
will have a size (M x N).
|
| To transpose A
or B
before multiplication,
| pass 1 to the trans_a
and/or trans_b
| arguments, which separate the first
| and second dimensions of the respective
| matrices using axis_a
and axis_b
.
|
| Github Links:
|
| - https://github.com/pytorch/pytorch/blob/master/caffe2/operators/matmul_op.cc
|
Implementations§
Auto Trait Implementations§
impl<T, Context, Engine> !RefUnwindSafe for MatMulOp<T, Context, Engine>
impl<T, Context, Engine> !Send for MatMulOp<T, Context, Engine>
impl<T, Context, Engine> !Sync for MatMulOp<T, Context, Engine>
impl<T, Context, Engine> Unpin for MatMulOp<T, Context, Engine>where Context: Unpin, Engine: Unpin, T: Unpin,
impl<T, Context, Engine> !UnwindSafe for MatMulOp<T, Context, Engine>
Blanket Implementations§
§impl<T> Pointable for T
impl<T> Pointable for T
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self
from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self
is actually part of its subset T
(and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset
but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self
to the equivalent element of its superset.