- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for PopulateFolderPatterns (0.22 sec)
-
tensorflow/compiler/mlir/lite/stablehlo/odml_converter/folders.h
namespace mlir::odml { // Populates the pattern set with all folding patterns. These patterns // are intended to have precedence over any other patterns added to the set. void PopulateFolderPatterns(RewritePatternSet &patternSet); } // namespace mlir::odml
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 01 22:33:06 UTC 2024 - 1.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/odml_converter/transforms/shlo_simplify.cc
void runOnOperation() override { ModuleOp module = getOperation(); RewritePatternSet patterns(&getContext()); populateWithGenerated(patterns); PopulateFolderPatterns(patterns); if (failed(applyPatternsAndFoldGreedily(module, std::move(patterns)))) { signalPassFailure(); } } }; } // namespace
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 10 03:05:20 UTC 2024 - 2.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/stablehlo/odml_converter/folders.cc
return FoldDivOpInternal<APFloat>(op, rewriter); } if (etype.isa<IntegerType>()) { return FoldDivOpInternal<APInt>(op, rewriter); } return failure(); } } // namespace void PopulateFolderPatterns(RewritePatternSet& patternSet) { patternSet.add(FoldDivOp); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 08 06:11:55 UTC 2024 - 4.5K bytes - Viewed (0)