Reimplement the general matrix multiplication
Summary: This commit generalizes the fully-connected operation into GEMM, and enhances the matmul operation via batched Dot, GEMV and GEMM. New representations and attributes have been consistent with ONNX.
Showing
with
1525 additions
and
647 deletions
docs/api/python/torch/addmm.rst
0 → 100644
docs/api/python/torch/baddbmm.rst
0 → 100644
docs/api/python/torch/bmm.rst
0 → 100644
docs/api/python/torch/matmul.rst
0 → 100644
dragon/operators/math/gemm_op.cc
0 → 100644
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
This diff is collapsed.
Click to expand it.
-
Please register or sign in to post a comment