- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for CreateFunctionalToExecutorDialectConversionPass (0.76 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/tf_functional_to_executor.cc
for (auto item : llvm::enumerate(graph_op.getResults())) { return_op.setOperand(item.index(), item.value()); } } std::unique_ptr<OperationPass<func::FuncOp>> CreateFunctionalToExecutorDialectConversionPass() { return std::make_unique<FunctionalToExecutorDialectConversion>(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Aug 11 20:52:36 UTC 2023 - 4.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/api/v1/tf_dialect_to_executor.cc
pm.addNestedPass<FuncOp>( mlir::TFTPU::CreateConvertToLegacyCompileAndReplicateAttributesPass()); pm.addPass(mlir::TF::CreateTFRegionControlFlowToFunctional()); add_pass(mlir::CreateFunctionalToExecutorDialectConversionPass()); add_pass(mlir::TFDevice::CreateReplicateToIslandPass( /*legacy_graph_export=*/true)); add_pass(mlir::TFDevice::CreateReplicaIDToDeviceOrdinalPass());
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/tf2xla/api/v2/tf_dialect_to_executor.cc
pm.addPass(mlir::TF::CreateTFRegionControlFlowToFunctional()); // First, we need to convert from functional, to executor dialect. pm.addNestedPass<FuncOp>( mlir::CreateFunctionalToExecutorDialectConversionPass()); // Do a single pass to split the graph's single island op into an island per // op as expected by the following passes. pm.addNestedPass<FuncOp>(mlir::TF::CreateSplitIntoIslandPerOpPass());
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Mon May 13 23:22:50 UTC 2024 - 6.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tfr/integration/tfr_decompose_ctx.cc
func_pm.addPass(mlir::TFR::CreateRaiseToTFOpsPass( 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,
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/tf2xla/api/v1/compile_tf_graph.cc
manager.addPass(mlir::TF::CreateTFRegionControlFlowToFunctional()); 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)) {
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/quantization/stablehlo/cc/saved_model_export.cc
} pm.addPass(mlir::quant::CreateInsertMainFunctionPass()); 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());
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/tensorflow/c/c_api_unified_experimental_mlir.cc
if (func_record_) { return func_record_.GetNewRef(); } 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.
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
// 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>> CreateFunctionalToExecutorDialectConversionPass(); // Creates a pass that lifts inner ops of tf_executor.island ops in // tf_executor.graph into the same block as the tf_executor.graph. 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 FunctionalToExecutorDialectConversionPass : Pass<"tf-functional-to-executor-conversion", "mlir::func::FuncOp"> { let summary = "Transform from func op to TF executor dialect."; let constructor = "CreateFunctionalToExecutorDialectConversionPass()"; let dependentDialects = ["mlir::tf_executor::TensorFlowExecutorDialect"]; } def SimpleTFDeviceAssignmentPass : Pass<"tf-simple-device-assignment", "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)