- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 156 for GetBody (0.2 sec)
-
tensorflow/compiler/mlir/tensorflow/transforms/tf_saved_model_freeze_variables.cc
new_while_op.getCond().takeBody(while_op.getCond()); new_while_op.getBody().takeBody(while_op.getBody()); llvm::BitVector erase_indices; UpdateTerminatorArguments(new_while_op.getBody(), args_to_erase, erase_indices); llvm::BitVector body_bit_vector( new_while_op.getBody().front().getNumArguments()); for (auto i : args_to_erase) body_bit_vector.set(i);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 09:56:53 UTC 2024 - 19.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/tf2xla/internal/passes/extract_outside_compilation.cc
auto launch_op = builder.create<mlir::tf_device::LaunchOp>( loc_op->getLoc(), builder.getStringAttr(host_device), /*result_types=*/host_result_types); launch_op.getBody().push_back(new Block); builder.setInsertionPointToEnd(&launch_op.GetBody()); builder.create<mlir::tf_device::ReturnOp>(loc_op->getLoc(), return_value_from_host); return launch_op; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Apr 30 21:25:12 UTC 2024 - 68.3K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/decompose_optionals.cc
if (call.getOperation()->getNumOperands() != f.getBody().front().getNumArguments()) { return failure(); // RemoteCall et al } rewriter.startOpModification(f); bool changed = false; for (auto [call_arg, body_arg] : llvm::zip(call.getOperation()->getOperands(), f.getBody().front().getArguments())) { if (call_arg.getType() != body_arg.getType()) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed Jun 12 21:18:05 UTC 2024 - 9.8K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/sparsecore/embedding_program_key.cc
auto launch = builder->create<tf_device::LaunchOp>( before_op->getLoc(), builder->getStringAttr(host_device), launch_result_types); launch.getBody().push_back(launch_block); builder->setInsertionPointToEnd(&launch.GetBody()); builder->create<tf_device::ReturnOp>(before_op->getLoc(), launch_results); return launch; } // Creates a new_launch after `before_op` with `ops_to_move` from
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 17.4K 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) -
tensorflow/compiler/mlir/quantization/tensorflow/passes/merge_initializer_function_ops_to_main.cc
IRMapping mapper = CloneSrcFuncArgumentsToMainFunc(src_func_op, main_func_op); // Clones each op from src to main_body. Block& main_body = main_graph_op.GetBody(); Block& src_body = src_graph_op.GetBody(); for (Operation& op : src_body.without_terminator()) { main_body.push_back(op.clone(mapper)); } // Relocate the main function's FetchOp at the last.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Sun May 12 12:54:52 UTC 2024 - 15.3K 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/ir/tf_device.cc
unsigned ReplicateOp::GetNumReplicatedBlockArguments() { return GetBody().getNumArguments() - GetNumPackedBlockArguments(); } // Returns the replicated block arguments. A copy should be made if the // replicate op is being modified. llvm::ArrayRef<BlockArgument> ReplicateOp::GetReplicatedBlockArguments() { return GetBody().getArguments().drop_back(GetNumPackedBlockArguments()); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 33.4K bytes - Viewed (0)