Python wrappers
Public Python APIs implemented by this engine symbol.Strict 2-D matrix multiply: .
Composite — rank-checked alias of matmul_op that rejects inputs
of rank up front so the error message names mm rather than
the planner. Gradient flows through MatmulBackward.
Math
See Also
matmul_op — generalised version with broadcasting and 1-D
vector promotion; bmm_op — strict batched variant.
Parameters
aTensorImplPtrLeft operand of shape
(M, K).bTensorImplPtrRight operand of shape
(K, N).Returns
TensorImplPtrTensor of shape (M, N).
Raises
FailureIf either input is null or not exactly 2-D.