[Mlir-commits] [mlir] [TOSA] Move CreateOpAndInfer into ConversionUtils.h (PR #106122)
Georgios Pinitas
llvmlistbot at llvm.org
Wed Sep 4 14:06:30 PDT 2024
================
@@ -79,6 +81,141 @@ checkHasDynamicBatchDims(PatternRewriter &rewriter, Op op,
LogicalResult EqualizeRanks(PatternRewriter &rewriter, Location loc,
Value &input1, Value &input2);
+LogicalResult EqualizeRanks(ImplicitLocOpBuilder &builder, Value &input1,
+ Value &input2);
+
+namespace {
+
+// Creates a TOSA operation and performs shape inference on the individual
+// op. This allows shape inference during the TFLite to TOSA lowering.
----------------
GeorgeARM wrote:
Better to rephrase this "This allows shape inference when lowering down to TOSA" instead of mentioning explicit framework names?
https://github.com/llvm/llvm-project/pull/106122
More information about the Mlir-commits
mailing list