[Mlir-commits] [mlir] [mlir][tosa] Change MatMul zero-point to inputs (PR #129785)

Tai Ly llvmlistbot at llvm.org
Wed Mar 5 10:21:36 PST 2025


================
@@ -309,8 +309,8 @@ def Tosa_MatMulOp : Tosa_InferShapedTypeOp<"matmul"> {
   let arguments = (ins
     Tosa_Tensor3D:$a,
     Tosa_Tensor3D:$b,
-    OptionalAttr<I32Attr>:$a_zp,
-    OptionalAttr<I32Attr>:$b_zp
+    Tosa_ScalarTensor:$a_zp,
+    Tosa_ScalarTensor:$b_zp
----------------
Tai78641 wrote:

thanks for the catch. fixed

https://github.com/llvm/llvm-project/pull/129785


More information about the Mlir-commits mailing list