- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 30 for GraphOp (0.13 sec)
-
tensorflow/compiler/mlir/tensorflow/analysis/resource_alias_analysis.cc
// possible. Value BacktrackAnalysis::BacktrackValue(Value value) { while (Operation* op = value.getDefiningOp()) { int res_index = mlir::cast<OpResult>(value).getResultNumber(); if (auto graph = dyn_cast<tf_executor::GraphOp>(op)) { value = graph.GetFetch().getOperand(res_index); } else if (auto island = dyn_cast<tf_executor::IslandOp>(op)) { // Control output is generated by the IslandOp, not the yield in
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 15 09:04:13 UTC 2024 - 28.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/analysis/side_effect_analysis.cc
AddRegionSideEffectsForOp(branch_func.getBody(), op); } } else if (isa<tf_device::LaunchOp, tf_device::ClusterOp, tf_executor::IslandOp, tf_executor::GraphOp, IfRegionOp, CaseRegionOp>(op)) { for (Region& region : op->getRegions()) { AddRegionSideEffectsForOp(region, op); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 15 09:04:13 UTC 2024 - 41.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tpu_validate_inputs.cc
static auto* ops = [] { llvm::SmallDenseSet<mlir::TypeID, 32>* ops_set = new llvm::SmallDenseSet<mlir::TypeID, 32>{ TypeID::get<mlir::ModuleOp>(), TypeID::get<mlir::tf_executor::GraphOp>(), TypeID::get<mlir::func::ReturnOp>(), TypeID::get<mlir::func::FuncOp>(), TypeID::get<mlir::tf_executor::YieldOp>(), TypeID::get<mlir::tf_executor::IslandOp>(),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 07 06:51:01 UTC 2024 - 21.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/executor_tpuv1_island_coarsening.cc
// Mark this function as being skipped in island outlining. func_op->setAttr(mlir::TF::kSkipIslandOutlining, builder.getBoolAttr(true)); continue; } func_op.walk([&](GraphOp graph) { Block& graph_body = graph.GetBody(); llvm::SmallDenseMap<llvm::StringRef, llvm::SmallDenseSet<Operation*>> cluster_to_tpu_ops_map; SmallPtrSet<Operation*, 16> visited_ops;
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri May 17 17:58:54 UTC 2024 - 27.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/translate/export_graphdef.cc
graph->set_versions(versions); } Exporter exporter(&configs, graph.get(), tf_dialect, &symbol_table); auto graph_op = llvm::cast<mlir::tf_executor::GraphOp>(block.front()); // Set input and output names and increment the use counter for them to help // generate unique names. if (!output_names.empty()) { const int num_data_results = graph_op.getNumResults();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 01 11:17:36 UTC 2024 - 35.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tf2xla/api/v2/tf_executor_to_graph.cc
graph->set_versions(versions); } Exporter exporter(&configs, graph.get(), tf_dialect, &symbol_table); auto graph_op = llvm::cast<mlir::tf_executor::GraphOp>(block.front()); // Set input and output names and increment the use counter for them to help // generate unique names. if (!output_names.empty()) { const int num_data_results = graph_op.getNumResults();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jun 06 23:04:51 UTC 2024 - 35.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc
bool IsSupportedNonTFOp(Operation* op) { return isa<tf_device::ReturnOp, tf_device::ClusterOp, tf_device::LaunchOp, tf_executor::EnterOp, tf_executor::ExitOp, tf_executor::FetchOp, tf_executor::GraphOp, tf_executor::IslandOp, tf_executor::LoopCondOp, tf_executor::MergeOp, tf_executor::NextIterationSinkOp, tf_executor::SwitchNOp, tf_executor::SwitchOp, tf_executor::YieldOp>(op) ||
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sat Jun 08 07:28:49 UTC 2024 - 134.1K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tf_passes.td
} def ExecutorIslandCoarseningPass : Pass<"tf-executor-island-coarsening", "mlir::func::FuncOp"> { let summary = "Walks tf_executor::GraphOp and merges individual tf_executor::IslandOps."; let description = [{ This pass performs whole graph analysis for a graph encapsulated into tf_executor::GraphOp. The analysis identifies all IslandOps within the graph which could be merged together. The goal is to merge as many islands as possible.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 21:18:05 UTC 2024 - 99.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/translate/import_model.cc
// the id of the nodes from the input graph needs to be specified. Status ConvertFunctionArgAndRets( mlir::func::FuncOp func, mlir::tf_executor::GraphOp graph_op, llvm::ArrayRef<mlir::Type> arg_types, const absl::InlinedVector<OutputTensor, 4>& arg_nodes, const absl::InlinedVector<OutputTensor, 4>& ret_nodes,
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 01 11:17:36 UTC 2024 - 183.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/g3doc/_includes/tf_passes.md
-ops-to-preserve : Comma separated list of ops that should not be pruned regardless of reachability ``` ### `-tf-executor-island-coarsening` _Walks tf_executor::GraphOp and merges individual tf_executor::IslandOps._ This pass performs whole graph analysis for a graph encapsulated into tf_executor::GraphOp. The analysis identifies all IslandOps within the graph which could be merged together. The goal is to merge as many islands as possible.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Aug 02 02:26:39 UTC 2023 - 96.4K bytes - Viewed (0)