- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 83 for GetBody (0.32 sec)
-
tensorflow/compiler/mlir/tf2xla/internal/passes/xla_cluster_formation.cc
auto cluster = builder.create<mlir::tf_device::ClusterOp>( call_op->getLoc(), call_op->getResultTypes()); cluster.getBody().push_back(new Block); call_op->replaceAllUsesWith(cluster.getResults()); call_op->moveBefore(&cluster.GetBody(), cluster.GetBody().end()); builder.setInsertionPointToEnd(&cluster.GetBody()); builder.create<mlir::tf_device::ReturnOp>(call_op->getLoc(),
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Dec 19 19:09:44 UTC 2023 - 6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/utils/xla_rewrite_util.cc
loc, builder->getStringAttr(device), op->getResultTypes()); launch.getBody().push_back(new mlir::Block); builder->setInsertionPointToEnd(&launch.GetBody()); builder->create<mlir::tf_device::ReturnOp>(loc, op->getResults()); // Move op inside cluster. op->moveBefore(launch.GetBody().getTerminator()); builder->restoreInsertionPoint(insert_point); return launch; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Jun 13 03:57:18 UTC 2023 - 4.4K bytes - Viewed (0) -
platforms/native/language-native/src/main/java/org/gradle/language/nativeplatform/internal/incremental/sourceparser/AbstractMacroFunction.java
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Nov 16 20:20:03 UTC 2023 - 1.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/tf_executor_to_functional.cc
LogicalResult LiftIslandOpInnerOpsFromGraph(tf_executor::GraphOp graph) { 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, "
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/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) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/entity/TestEntity.java
Registered: Wed Jun 12 15:17:51 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 1.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/device_attribute_to_launch.cc
op->getLoc(), builder.getStringAttr(device), /*result_types=*/op->getResultTypes()); op->replaceAllUsesWith(launch_op); launch_op.getBody().push_back(new Block); builder.setInsertionPointToEnd(&launch_op.GetBody()); auto* return_op = builder.create<tf_device::ReturnOp>(op->getLoc(), op->getResults()) .getOperation(); MLIRContext* context = launch_op.getContext();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Oct 04 00:59:46 UTC 2022 - 2.7K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/xla_inline_device_ops.cc
void InlineDeviceOp(tf_device::ClusterOp cluster_op) { auto& block = cluster_op.GetBody(); llvm::SmallVector<Operation*, 4> non_terminator_ops; for (Operation& op : block.without_terminator()) { non_terminator_ops.push_back(&op); } for (auto op : non_terminator_ops) { op->moveBefore(cluster_op); } auto& return_op = cluster_op.GetBody().front(); // This is the last op, should be tf_device::ReturnOp.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Oct 04 00:59:46 UTC 2022 - 2.6K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/replicate_invariant_op_hoisting.cc
MakeShapeOpInvariant(replicate_op, num_replicas, replicate_block, shape_op); }); Region* replicate_region = &replicate_op.getBody(); std::optional<DictionaryAttr> virtual_device_list = replicate_op.getDevices(); for (Operation& inner_op : llvm::make_early_inc_range(replicate_op.GetBody())) { if (llvm::isa<tf_device::ReturnOp>(inner_op)) continue; // Skip hoisting if the inner op device attribute is a virtual device
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 7.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/insert_save_op.cc
SmallVector<TF::VarHandleOp> CloneVarHandleOpsIntoSaveFunc( func::FuncOp save_func, const ArrayRef<TF::VarHandleOp> var_handle_ops) { Block& save_op_block = save_func.getBody().front(); IRMapping mapper{}; SmallVector<TF::VarHandleOp> cloned_var_handle_ops = {}; for (auto var_handle_op : var_handle_ops) { Operation* cloned_var_handle_op = var_handle_op->clone(mapper);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Fri Mar 22 05:52:39 UTC 2024 - 9.5K bytes - Viewed (0)