- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for TF_GraphRemoveFunction (0.12 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);
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_experimental.h
TF_CAPI_EXPORT extern void TF_DeletePluggableDeviceLibraryHandle( TF_Library* lib_handle); // Removes `func_name` from `g`. If `func_name` is not in `g`, an error will be // returned. TF_CAPI_EXPORT extern void TF_GraphRemoveFunction(TF_Graph* g, const char* func_name, TF_Status* status); #ifdef __cplusplus } /* end extern "C" */ #endif
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Thu Apr 27 21:07:00 UTC 2023 - 15.1K bytes - Viewed (0) -
tensorflow/c/c_api_experimental.cc
return nullptr; } } return lib_handle; } #endif } void TF_DeletePluggableDeviceLibraryHandle(TF_Library* lib_handle) { delete lib_handle; } void TF_GraphRemoveFunction(TF_Graph* g, const char* func_name, TF_Status* status) { tensorflow::mutex_lock l(g->mu); status->status = g->graph.mutable_flib_def()->RemoveFunction(func_name);
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 16:27:48 UTC 2024 - 29.5K bytes - Viewed (0)