Crate caffe2op_matmul
source ·Structs
- | Matrix multiplication $Y = A * B$, where |
A
has size (M x K),B
has size (K x N), | andY
will have a size (M x N). | | To transposeA
orB
before multiplication, | pass 1 to thetrans_a
and/ortrans_b
| arguments, which separate the first | and second dimensions of the respective | matrices usingaxis_a
andaxis_b
. | | Github Links: | | - https://github.com/pytorch/pytorch/blob/master/caffe2/operators/matmul_op.cc |