- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for Func2 (0.05 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_); ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(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)