- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for CreateBreakUpIslandsPass (0.49 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/graph_optimization_pass.cc
CreateLayoutOptimizationPipeline(pm.nest<func::FuncOp>(), layout_optimization_options); // Prepare IR for exporting. pm.addPass(CreateBreakUpIslandsPass()); // In case of failure, the `diag_handler` converts MLIR errors emitted to the // MLIRContext into a tensorflow::Status. StatusScopedDiagnosticHandler diag_handler(module.getContext());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 09:56:53 UTC 2024 - 3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/api/v1/tf_dialect_to_executor.cc
namespace { void AddTfDialectToExecutorPasses(OpPassManager &pm) { auto add_pass = [&](std::unique_ptr<Pass> pass) { pm.addNestedPass<FuncOp>(std::move(pass)); pm.addPass(mlir::CreateBreakUpIslandsPass()); }; pm.addPass(mlir::tf_executor::CreateTFExecutorTPUV1IslandInliningPass()); // There are cases where we don't consume all compilation and
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Feb 16 03:41:02 UTC 2024 - 7.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfr/integration/tfr_decompose_ctx.cc
tfr_module_, /*materialize_derived_attrs=*/true)); // Prepare to be exported. func_pm.addPass(mlir::CreateFunctionalToExecutorDialectConversionPass()); pm_.addPass(mlir::CreateBreakUpIslandsPass()); } void TFRDecomposeContext::Destroy() { tfr_module_.erase(); } absl::StatusOr<FunctionDef> ExpandNode(const NodeDef& node_def, StringPiece func_name) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon Apr 29 02:34:43 UTC 2024 - 9.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/stablehlo/cc/saved_model_export.cc
pm.addPass(mlir::quant::CreateLiftHashTableOpsAsArgsPass()); pm.addNestedPass<mlir::func::FuncOp>( mlir::CreateFunctionalToExecutorDialectConversionPass()); pm.addPass(mlir::CreateBreakUpIslandsPass()); pm.addPass(mlir::quant::CreateMergeInitializerFunctionOpsToMainPass()); pm.addPass(mlir::quant::CreateMergeSaveFunctionOpsToMainPass()); pm.addNestedPass<mlir::func::FuncOp>(
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Mar 20 11:11:25 UTC 2024 - 12.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/api/v1/compile_tf_graph.cc
manager.addPass(mlir::TF::CreateTFShapeInferencePass()); manager.addNestedPass<mlir::func::FuncOp>( mlir::CreateFunctionalToExecutorDialectConversionPass()); manager.addPass(mlir::CreateBreakUpIslandsPass()); mlir::StatusScopedDiagnosticHandler diag_handler(module.getContext()); if (VLOG_IS_ON(2)) { llvm::StringRef module_name = llvm::StringRef(); constexpr const char* kDebugGroupBridgePhase2 =
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 22:19:26 UTC 2024 - 14K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/breakup-islands.cc
std::get<0>(item).replaceAllUsesWith(std::get<1>(item)); island_op.erase(); } } // namespace std::unique_ptr<OperationPass<ModuleOp>> CreateBreakUpIslandsPass() { return std::make_unique<BreakUpIslands>(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Aug 11 20:52:36 UTC 2023 - 16.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/c/c_api_unified_experimental_mlir.cc
} PassManager pm(func_.getContext()); ::tensorflow::applyTensorflowAndCLOptions(pm); pm.addNestedPass<func::FuncOp>( CreateFunctionalToExecutorDialectConversionPass()); pm.addPass(CreateBreakUpIslandsPass()); // In case of failure, the `diag_handler` converts MLIR errors emitted to // the MLIRContext into a tensorflow::Status. StatusScopedDiagnosticHandler diag_handler(func_.getContext());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 28.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/passes.h
namespace mlir { // Creates a pass that breaks up an island with multiple ops into multiple // islands, each with a single op. std::unique_ptr<OperationPass<ModuleOp>> CreateBreakUpIslandsPass(); // Creates a pass that converts mlir functions consisting of mlir ops into a // tf_executor dialect as a single island. std::unique_ptr<OperationPass<func::FuncOp>>
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 21:18:05 UTC 2024 - 31.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tf_passes.td
} def BreakUpIslandsPass : Pass<"tf-executor-break-up-islands", "mlir::func::FuncOp"> { let summary = "Transform from TF control dialect to TF executor dialect."; let constructor = "CreateBreakUpIslandsPass()"; let dependentDialects = ["mlir::tf_executor::TensorFlowExecutorDialect"]; } def SplitIntoIslandPerOpPass : Pass<"tf-executor-split-into-island-per-op", "mlir::func::FuncOp"> {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 21:18:05 UTC 2024 - 99.6K bytes - Viewed (0)