Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for its (0.13 sec)

  1. tensorflow/c/c_api_function_test.cc

    TEST_F(CApiFunctionTest, SetGradientAndRun) {
      // Define the function and its grad
      DefineFunction(func_name_, &func_);
      TF_Function* grad_func;
      DefineFunction("MyGrad", &grad_func);
    
      // Add func and its gradient to host graph
      TF_GraphCopyFunction(host_graph_, func_, grad_func, s_);
      ASSERT_EQ(TF_OK, TF_GetCode(s_)) << TF_Message(s_);
    
      // Verify that function and its grad are in host graph's GraphDef
      GraphDef gdef;
    C++
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Thu Jul 20 22:08:54 GMT 2023
    - 63.6K bytes
    - Viewed (6)
Back to top