- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for TF_GraphGetFunctions (0.08 sec)
-
tensorflow/c/c_api_experimental_test.cc
EXPECT_EQ(TF_GraphNumFunctions(func_graph_), 1); EXPECT_EQ(TF_GraphGetFunctions(func_graph_, funcs, 1, s_), 1); ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_); TF_GraphRemoveFunction(func_graph_, func_name_, s_); ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_); EXPECT_EQ(TF_GraphNumFunctions(func_graph_), 0); EXPECT_EQ(TF_GraphGetFunctions(func_graph_, funcs, 1, s_), 0); TF_DeleteFunction(funcs[0]); }
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Tue Jan 17 22:27:52 UTC 2023 - 13.1K bytes - Viewed (0) -
tensorflow/c/c_api_function.cc
status->status = g->graph.AddGradientDef(std::move(gdef)); } int TF_GraphNumFunctions(TF_Graph* g) { tensorflow::mutex_lock l(g->mu); return g->graph.flib_def().num_functions(); } int TF_GraphGetFunctions(TF_Graph* g, TF_Function** funcs, int max_func, TF_Status* status) { tensorflow::FunctionDefLibrary lib; { tensorflow::mutex_lock l(g->mu); lib = g->graph.flib_def().ToProto();
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 16:27:48 UTC 2024 - 13.7K bytes - Viewed (0)