- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for populateCanonicalizationPatterns (0.27 sec)
-
tensorflow/compiler/mlir/tfr/passes/decompose.cc
void DecomposeTFOpsPass::ApplyCanonicalization() { func::FuncOp func = getOperation(); RewritePatternSet patterns(&getContext()); populateWithGenerated(patterns); populateCanonicalizationPatterns(func, patterns); (void)applyPatternsAndFoldGreedily(func, std::move(patterns)); } LogicalResult DecomposeTFOpsPass::RewriteUnregisteredTFOps() { func::FuncOp func = getOperation();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 14.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfr/passes/raise_to_tf.cc
: func->getParentOfType<ModuleOp>()); RewritePatternSet patterns(&getContext()); patterns.add<RewriteTFRCallOp>(ctx, table, materialize_derived_attrs_); populateCanonicalizationPatterns(func, patterns); (void)applyPatternsAndFoldGreedily(func, std::move(patterns)); } } // namespace // Creates an instance of the pass to raise TFR call ops to the TF ops.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 21.8K bytes - Viewed (0)