[Mlir-commits] [mlir] [mlir][tosa] Switch zero point of negate to input variable type (PR #129758)
Tai Ly
llvmlistbot at llvm.org
Wed Mar 5 09:34:42 PST 2025
================
@@ -1352,8 +1354,8 @@ def Tosa_NegateOp : Tosa_ElementwiseUnaryOp<"negate"> {
let arguments = (ins
Tosa_Tensor:$input1,
- OptionalAttr<I32Attr>:$input1_zp,
- OptionalAttr<I32Attr>:$output_zp
+ Tosa_ScalarTensor:$input1_zp,
+ Tosa_ScalarTensor:$output_zp
----------------
Tai78641 wrote:
thanks for the catch. fixed
https://github.com/llvm/llvm-project/pull/129758
More information about the Mlir-commits
mailing list