- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for DefineFunction (0.2 sec)
-
tensorflow/c/c_api_function_test.cc
} TEST_F(CApiFunctionTest, SameGradForTwoFunctions) { // Define the functions TF_Function* func1; TF_Function* func2; TF_Function* grad_func; DefineFunction("FooFunc1", &func1); DefineFunction("FooFunc2", &func2); DefineFunction("MyGrad", &grad_func); // Make grad_func be a gradient of func1 and func2 TF_GraphCopyFunction(host_graph_, func1, grad_func, s_);
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Thu Jul 20 22:08:54 UTC 2023 - 63.6K bytes - Viewed (0) -
tensorflow/c/c_api_experimental_test.cc
ASSERT_EQ(TF_OK, code) << status_msg; TF_DeletePluggableDeviceLibraryHandle(lib); #endif // !defined(TENSORFLOW_NO_SHARED_OBJECTS) #endif // !defined(PLATFORM_WINDOWS) } void DefineFunction(const char* name, TF_Function** func, const char* description = nullptr, bool append_hash = false) { std::unique_ptr<TF_Graph, decltype(&TF_DeleteGraph)> func_graph(
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Tue Jan 17 22:27:52 UTC 2023 - 13.1K bytes - Viewed (0)