- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 109 for functionName (0.21 sec)
-
doc/go1.17_spec.html
<p> A function declaration binds an identifier, the <i>function name</i>, to a function. </p> <pre class="ebnf"> FunctionDecl = "func" FunctionName Signature [ FunctionBody ] . FunctionName = identifier . FunctionBody = Block . </pre> <p> If the function's <a href="#Function_types">signature</a> declares result parameters, the function body's statement list must end in
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Apr 11 20:22:45 UTC 2024 - 211.6K bytes - Viewed (0) -
tensorflow/c/experimental/saved_model/core/saved_model_utils.cc
} // Retrieve related function information. const std::string& function_name = saved_function.concrete_functions(0); const FunctionDef* function_def = function_def_map.at(function_name); const SavedConcreteFunction& saved_concrete_func = metagraph.object_graph_def().concrete_functions().at(function_name); const FunctionSpec& function_spec = saved_function.function_spec();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jan 12 19:17:46 UTC 2023 - 24K bytes - Viewed (0) -
tensorflow/cc/saved_model/fingerprinting.cc
} uint64_t result_hash = 0; for (const auto& [uid, function_name] : uid_to_function_names) { // Hash the function name (with the UID stripped). result_hash = FingerprintCat64(result_hash, tensorflow::Fingerprint64(absl::StripSuffix( function_name, std::to_string(uid)))); // Hash the serialized concrete function.
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Mar 26 00:24:44 UTC 2024 - 9.8K bytes - Viewed (0) -
tensorflow/c/eager/parallel_device/parallel_device_test.cc
status.get()); ASSERT_EQ(TF_GetCode(status.get()), TF_OK) << TF_Message(status.get()); const char* function_name = "test_reduce_mul"; RegisterCollectiveMulFunction(context.get(), function_name, 2, status.get()); ASSERT_EQ(TF_GetCode(status.get()), TF_OK) << TF_Message(status.get()); TensorHandlePtr value_one(FloatTensorHandle(7., status.get()));
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Jul 08 23:47:35 UTC 2021 - 29.3K bytes - Viewed (0) -
tensorflow/c/eager/c_api_experimental.cc
} void TFE_ContextGetFunctionDef(TFE_Context* ctx, const char* function_name, TF_Buffer* buf, TF_Status* status) { auto* function_def = tensorflow::unwrap(ctx)->FindFunctionDef(function_name); if (function_def == nullptr) { status->status = tensorflow::errors::NotFound( "Unable to find FunctionDef with name: ", function_name); return; }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 11 23:52:39 UTC 2024 - 35.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/tensorflow/tests/mlir2graphdef/tf-gradient-attr.mlir
// CHECK-NEXT: signature { // CHECK-NEXT: name: "foo" // CHECK: function { // CHECK-NEXT: signature { // CHECK-NEXT: name: "foo_grad" // CHECK: gradient { // CHECK-NEXT: function_name: "foo" // CHECK-NEXT: gradient_func: "foo_grad" // CHECK-NEXT: } // CHECK-NEXT: } func.func @foo_grad(%arg0: tensor<*xf32>, %arg1: tensor<*xf32>) -> tensor<*xf32> { %graph = tf_executor.graph {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Wed May 17 18:52:47 UTC 2023 - 1.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/mlir_graph_optimization_pass.h
const DeviceSet* device_set, const ConfigProto& config_proto, const Graph& graph, const FunctionLibraryDefinition& function_library) const = 0; virtual Status Run(const std::string& function_name, const ConfigProto& config_proto, mlir::ModuleOp module, const Graph& graph, const FunctionLibraryDefinition& function_library) = 0; };
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue Oct 03 22:53:34 UTC 2023 - 8.4K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/experimental/common/outline_operations.cc
FunctionType function_type = builder.getFunctionType(input_types, return_types); std::string function_name = absl::StrCat("func_", subgraph.subgraph_id_); func::FuncOp new_func = func::FuncOp::create(builder.getUnknownLoc(), function_name, function_type); new_func.setVisibility(func::FuncOp::Visibility::Private); new_func.addEntryBlock();
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 8.5K bytes - Viewed (0) -
tensorflow/compiler/mlir/quantization/common/attrs_and_constraints_test.cc
func::FuncOp main_fn = FindMainFuncOp(*module_op); ASSERT_THAT(main_fn, NotNull()); auto call_op = *main_fn.getOps<TF::XlaCallModuleOp>().begin(); const StringRef function_name = GetEntryFunctionName(call_op); EXPECT_TRUE(ContainsConvOrDot(function_name)); } TEST_F(AttrsAndConstraintsTest, ContainsConvOrDotFalse) { OwningOpRef<ModuleOp> module_op = ParseModuleOpString(kModuleXlaCallModuleNoEntryNoQuantTrait);
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Tue May 14 17:10:32 UTC 2024 - 22.9K bytes - Viewed (0) -
tensorflow/compiler/mlir/lite/experimental/tac/transforms/fold_constants_to_subgraph.cc
} for (auto consumer : op->getResult(0).getUsers()) { auto consumer_call = llvm::dyn_cast_or_null<func::CallOp>(consumer); if (!consumer_call) continue; auto function_name = consumer_call.getCallee(); // Locate the argument position of the use. int argument_index = -1; for (int i = 0; i < consumer_call.getNumOperands(); ++i) {
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 6.1K bytes - Viewed (0)