- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 81 for GetBody (0.15 sec)
-
platforms/core-execution/workers/src/testFixtures/groovy/org/gradle/workers/fixtures/WorkerExecutorFixture.groovy
} abstract String getBody() } class WorkParameterClass extends TestClass { Map<String, String> fields = [:] WorkParameterClass(String name, String packageName) { super(name, packageName) this.imports += ["org.gradle.workers.WorkParameters"] } String getBody() { return """
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Jan 05 12:36:12 UTC 2024 - 14.2K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/transforms/executor_tpuv1_island_coarsening.cc
/*controlInputs=*/island.getOperands()); new_island.getBody().push_back(new Block); // Move the operations in the new island, gather the results of the new yield. Block& island_body = new_island.GetBody(); SmallVector<Value, 16> yield_operands; for (IslandOp island : islands) { Operation& wrapped_op = island.GetBody().front(); wrapped_op.moveBefore(&island_body, island_body.end());
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/lite/utils/lstm_utils_test.cc
convert.GetCompositeOpName()); EXPECT_EQ(fused_lstm_func_.getNumArguments(), 5); EXPECT_EQ(fused_lstm_func_.getFunctionType().getNumResults(), 1); auto transpose_op = fused_lstm_func_.getBody().front().begin(); transpose_op++; EXPECT_EQ(mlir::cast<RankedTensorType>(transpose_op->getOperand(0).getType()) .getDimSize(0), 3);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 10K bytes - Viewed (0) -
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) -
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/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) -
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) -
tensorflow/compiler/mlir/tensorflow/ir/tf_executor.cc
//===----------------------------------------------------------------------===// FetchOp GraphOp::GetFetch() { return llvm::cast<FetchOp>(GetBody().back()); } LogicalResult GraphOp::verify() { GraphOp graph = *this; auto *executorDialect = graph->getDialect(); if (graph.GetBody().empty()) return graph.emitOpError() << "expects a non-empty body";
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 42.7K bytes - Viewed (0) -
platforms/core-configuration/configuration-cache/src/integTest/groovy/org/gradle/internal/cc/impl/fixtures/ExternalProcessFixture.groovy
} private String getCommandLineAsVarargLiterals() { return ShellScript.cmdToVarargLiterals(testExecutable.commandLine) } interface Snippets { abstract String getBody() abstract String getImports() } interface SnippetsFactory { abstract Snippets newSnippets(ExternalProcessFixture fixture) abstract String getSummary() }
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Sat Jun 08 11:29:25 UTC 2024 - 10.2K bytes - Viewed (0)