- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for IslandOp (0.19 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/update_control_dependencies.cc
// We only call this function for island or fetch ops. The second pair of // parentheses is needed for successful compilation. assert((isa<IslandOp, FetchOp>(op))); mlir::MutableOperandRange mutable_control_inputs = isa<IslandOp>(op) ? cast<IslandOp>(op).getControlInputsMutable() : cast<FetchOp>(op).getFetchesMutable(); // Add control inputs in program order of the defining ops.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jan 30 07:53:51 UTC 2024 - 8.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/executor_tpuv1_outline_tpu_island.cc
SymbolTable outlined_symbol_table(outlined_module); // Find every island that contains a TPU node and extract it into a new module // to run the V1 bridge there. llvm::SmallVector<IslandOp, 8> islands_to_outline; getOperation().walk([&](IslandOp island_op) { auto parent_func = island_op->getParentOfType<func::FuncOp>(); auto skip_island_outlining = parent_func->getAttrOfType<BoolAttr>(mlir::TF::kSkipIslandOutlining);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 8.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/launch_to_device_attribute.cc
// violate the invariant imposed by the GraphExport pipeline that every // IslandOp perfectly wraps a single op. auto control_type = mlir::tf_executor::ControlType::get(tf_dialect->getContext()); getOperation().walk( [&control_type](mlir::tf_executor::IslandOp curr_island) { mlir::TF::SplitIsland(curr_island, control_type); }); } }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 5.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tf_executor_to_functional.cc
auto graph_position = graph.getOperation()->getIterator(); Block* parent_block = graph.getOperation()->getBlock(); for (Operation& op : graph.GetBody().without_terminator()) { auto island_op = llvm::dyn_cast<tf_executor::IslandOp>(op); if (!island_op) return op.emitOpError() << "is not supported for lifting out of tf_executor.graph, " "expected tf_executor.island";
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Aug 11 20:52:36 UTC 2023 - 3.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/analysis/tf_dataflow.h
auto result = graph.getResult(arg.getOperandNumber()); this->join(getLatticeElement(result), *getLatticeElement(arg.get())); } } } else if (auto island = dyn_cast<tf_executor::IslandOp>(op)) { for (auto &arg : island.GetYield()->getOpOperands()) { auto result = island.getResult(arg.getOperandNumber()); this->join(getLatticeElement(result), *getLatticeElement(arg.get())); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Mar 06 23:53:00 UTC 2024 - 3.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tf_functional_to_executor.cc
loc, func.getFunctionType().getResults()); graph_op.getBody().push_back(new Block); builder.setInsertionPointToEnd(&graph_op.GetBody()); auto island = builder.create<tf_executor::IslandOp>( loc, func.getFunctionType().getResults(), tf_executor::ControlType::get(&getContext()), ArrayRef<Value>()); // Create Fetch. ValueRange to_fetch = island.getResults(); if (to_fetch.size() != 1) {
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/tensorflow/transforms/cluster_formation.cc
// the function body or if they are nested in individual // `tf_executor.island`. for (Block& block : func.getBody()) BuildClusters(block, builder, info); func.walk([&](tf_executor::IslandOp island) { BuildClusters(island.GetBody(), builder, info); }); } } } // namespace std::unique_ptr<OperationPass<ModuleOp>> CreateClusterFormationPass() {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Oct 05 13:30:21 UTC 2023 - 6.8K bytes - Viewed (0)