[Mlir-commits] [mlir] [mlir][tosa] Add support for matmul_t (PR #203894)
Sayan Saha
llvmlistbot at llvm.org
Thu Jun 18 07:00:28 PDT 2026
================
@@ -453,6 +453,44 @@ def Tosa_MatMulOp : Tosa_InferShapedTypeOp<"matmul", [NoMemoryEffect]> {
"operands attr-dict `:` functional-type(operands, results)";
}
+//===----------------------------------------------------------------------===//
+// Operator: matmul_t
+//===----------------------------------------------------------------------===//
+def Tosa_MatMulTOp : Tosa_InferShapedTypeOp<"matmul_t", [NoMemoryEffect]> {
+ let summary = "Matrix multiplication with transposed B operator.";
+
+ let description = [{
+ Performs two dimensional matrix multiplications. `A` matrix is of shape
----------------
sahas3 wrote:
```suggestion
Performs batched two dimensional matrix multiplications with `B` transposed. Specifically, the last two dimensions of `B (WxC)` are transposed to `(CxW)` for the inner product. `A` matrix is of shape
```
https://github.com/llvm/llvm-project/pull/203894
More information about the Mlir-commits
mailing list