- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for PopulateTFDataOptimizationPatterns (0.36 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/tf_data_optimization.h
#include "mlir/IR/PatternMatch.h" // from @llvm-project namespace mlir { namespace TF { // Populates patterns to perform optimizations specific to tf.data operations. void PopulateTFDataOptimizationPatterns(MLIRContext *context, RewritePatternSet *patterns); } // namespace TF } // namespace mlir
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jan 27 15:05:02 UTC 2022 - 1.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tf_data_optimization.cc
rewriter.replaceOp(op, {fused_op.getHandle()}); return failure(); } }; #include "tensorflow/compiler/mlir/tensorflow/transforms/generated_tf_data_optimization.inc" } // namespace void PopulateTFDataOptimizationPatterns(MLIRContext *context, RewritePatternSet *patterns) { patterns->add<FuseParallelMapAndBatch>(context); populateWithGenerated(*patterns); } } // namespace TF
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Nov 03 12:35:38 UTC 2022 - 2.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tf_data_optimization_pass.cc
struct TFDataOptimization : public impl::TFDataOptimizationPassBase<TFDataOptimization> { void runOnOperation() override { RewritePatternSet patterns(&getContext()); mlir::TF::PopulateTFDataOptimizationPatterns(&getContext(), &patterns); (void)applyPatternsAndFoldGreedily(getOperation(), std::move(patterns)); } }; } // namespace
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Oct 05 23:50:19 UTC 2022 - 1.7K bytes - Viewed (0)