[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:55 PST 2025
================
@@ -680,23 +680,43 @@ buildAvgPool2dOpWithQuantInfo(OpBuilder &builder, OperationState &result,
result.types.push_back(outputType);
}
-/// This builder is called on single-parameter unary operators that have scale
-/// relationship between their input and output, expressed by the
-/// UnaryOpQuantizationAttr.
-static void buildUnaryOpWithQuantInfo(OpBuilder &builder,
- OperationState &result, Type outputType,
- Value input) {
- result.addOperands(input);
+/// This builder is called on single-parameter negate operator that
+/// have scale relationship between their input and output, expressed
+/// by the UnaryOpQuantizationAttr.
----------------
lhutton1 wrote:
nit: s/UnaryOpQuantizationAttr/NegateOpQuantizationAttr
https://github.com/llvm/llvm-project/pull/129758
More information about the Mlir-commits
mailing list