[Mlir-commits] [mlir] [mlir][tosa] Make Convolution Zero Points Inputs (PR #122939)
Georgios Pinitas
llvmlistbot at llvm.org
Thu Jan 16 03:03:53 PST 2025
================
@@ -101,4 +101,39 @@ class TosaElementwiseOperator
#define GET_OP_CLASSES
#include "mlir/Dialect/Tosa/IR/TosaOps.h.inc"
+namespace mlir {
+namespace tosa {
+
+// Create a rank-0 const tensor for zero point of the source tensor.
+std::optional<Value> createZeroPointTensor(OpBuilder &builder, Location loc,
----------------
GeorgeARM wrote:
why does this need to be in the header?
https://github.com/llvm/llvm-project/pull/122939
More information about the Mlir-commits
mailing list