- Sort Score
- Num 10 results
- Language All
Results 1 - 7 of 7 for TF_GraphToFunction (0.33 seconds)
-
tensorflow/c/c_api_function_test.cc
const std::vector<std::string>& output_names, bool expect_failure = false) { ASSERT_EQ(func_, nullptr); const char** output_names_ptr = ToArray(output_names); func_ = TF_GraphToFunction(func_graph_, func_name_, false, num_opers, num_opers == -1 ? nullptr : opers.data(), inputs.size(), inputs.data(), outputs.size(),Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Wed Jan 07 04:56:09 GMT 2026 - 63.9K bytes - Click Count (1) -
tensorflow/c/eager/c_api_unified_experimental_graph.cc
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Sat May 31 07:13:41 GMT 2025 - 15.7K bytes - Click Count (0) -
tensorflow/c/c_api_experimental_test.cc
TF_Operation* feed = Placeholder(func_graph.get(), s.get()); TF_Operation* neg = Neg(feed, func_graph.get(), s.get()); TF_Output inputs[] = {{feed, 0}}; TF_Output outputs[] = {{neg, 0}}; *func = TF_GraphToFunction(func_graph.get(), name, append_hash, -1, /*opers=*/nullptr, 1, inputs, 1, outputs, /*output_names=*/nullptr,
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Wed Jan 07 04:56:09 GMT 2026 - 13.1K bytes - Click Count (0) -
tensorflow/c/c_api_function.cc
TF_Function* tf_function = new TF_Function(); tf_function->record = new tensorflow::FunctionRecord( std::move(fdef), std::move(stack_traces), false); return tf_function; } TF_Function* TF_GraphToFunction(const TF_Graph* fn_body, const char* fn_name, unsigned char append_hash_to_fn_name, int num_opers, const TF_Operation* const* opers,
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Sat Oct 12 16:27:48 GMT 2024 - 13.7K bytes - Click Count (0) -
tensorflow/c/eager/c_api.h
TF_CAPI_EXPORT extern void TFE_ContextAddFunctionDef( TFE_Context* ctx, const char* serialized_function_def, size_t size, TF_Status* status); // Adds a function (created from TF_GraphToFunction or // TF_FunctionImportFunctionDef) to the context, allowing it to be executed with // TFE_Execute by creating an op with the same name as the function. TF_CAPI_EXPORT extern void TFE_ContextAddFunction(TFE_Context* ctx,
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Thu Apr 27 21:07:00 GMT 2023 - 22.8K bytes - Click Count (0) -
tensorflow/c/c_api.h
const TF_FunctionOptions* opts, const char* description, TF_Status* status); // Similar to TF_GraphToFunction but allows specifying control outputs of the // function. // // The arguments of TF_GraphToFunction have the same meaning, but the new // arguments are as follows: // // ncontrol_outputs: Number of control outputs of the function.
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Thu Oct 26 21:08:15 GMT 2023 - 82.3K bytes - Click Count (0) -
tensorflow/c/eager/c_api_experimental_test.cc
TF_Operation* id = TF_FinishOperation(id_descr, status); ASSERT_TRUE(TF_GetCode(status) == TF_OK) << TF_Message(status); TF_Output input{arg, 0}; TF_Output output{id, 0}; TF_Function* fn = TF_GraphToFunction(function_graph, "ident", 0, 1, &id, 1, &input, 1, &output, nullptr, nullptr, "test", status); ASSERT_TRUE(TF_GetCode(status) == TF_OK) << TF_Message(status); TF_DeleteGraph(function_graph);
Created: Tue Apr 07 12:39:13 GMT 2026 - Last Modified: Thu Oct 09 05:56:18 GMT 2025 - 31.5K bytes - Click Count (0)