- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for py_function (0.43 sec)
-
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
Registered: Tue Sep 09 12:39:10 UTC 2025 - Last Modified: Thu Jul 20 22:08:54 UTC 2023 - 63.6K bytes - Viewed (1) -
tensorflow/c/c_api.h
TF_Operation* oper; int index; // The index of the output within oper. } TF_Output; // TF_Function is a grouping of operations with defined inputs and outputs. // Once created and added to graphs, functions can be invoked by creating an // operation whose operation type matches the function name. typedef struct TF_Function TF_Function; // Function definition options. TODO(iga): Define and implement
Registered: Tue Sep 09 12:39:10 UTC 2025 - Last Modified: Thu Oct 26 21:08:15 UTC 2023 - 82.3K bytes - Viewed (0)