Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for TF_Function (0.14 sec)

  1. tensorflow/c/c_api_function_test.cc

      TF_Operation* func_op = Use({func_feed});
      Run({{func_feed, Int32Tensor(3)}}, func_op, -3);
    }
    
    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
    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