[Mlir-commits] [mlir] [mlir][tosa] Make Convolution Zero Points Inputs (PR #122939)

Jack Frankland llvmlistbot at llvm.org
Mon Jan 20 03:25:04 PST 2025


================
@@ -103,11 +103,13 @@ def Tosa_Conv2DOp : Tosa_InferShapedTypeOp<"conv2d"> {
     Tosa_Tensor4D:$input,
     TosaTensorRankOf<[Tosa_Weight], [4]>:$weight,
     Tosa_Tensor1D:$bias,
+    Tosa_ScalarTensor:$input_zp,
----------------
FranklandJack wrote:

Right you are: https://www.mlplatform.org/tosa/tosa_spec.html#_conv2d

 I will update this.

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


More information about the Mlir-commits mailing list