[Mlir-commits] [mlir] [mlir][tosa] Switch zero point of negate to input variable type (PR #129758)
Luke Hutton
llvmlistbot at llvm.org
Wed Mar 5 02:19:56 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
----------------
lhutton1 wrote:
Should this be a `Tosa_ScalarIntOrFloatTensor` for consistency with other zero points?
https://github.com/llvm/llvm-project/pull/129758
More information about the Mlir-commits
mailing list