- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for TF_AddGradientsWithPrefix (0.27 sec)
-
tensorflow/c/c_api.h
// guarantee name uniqueness, subsequent calls to the same graph will // append an incremental tag to the prefix: "gradients_1/", "gradients_2/", ... // See TF_AddGradientsWithPrefix, which provides a means to specify a custom // name prefix for operations added to a graph to compute the gradients. // // WARNING: This function does not yet support all the gradients that python // supports. See
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Thu Oct 26 21:08:15 UTC 2023 - 82.3K bytes - Viewed (0) -
tensorflow/c/c_api.cc
void TF_AddGradients(TF_Graph* g, TF_Output* y, int ny, TF_Output* x, int nx, TF_Output* dx, TF_Status* status, TF_Output* dy) { TF_AddGradientsWithPrefix(g, nullptr, y, ny, x, nx, dx, status, dy); } void TF_AddGradientsWithPrefix(TF_Graph* g, const char* prefix, TF_Output* y, int ny, TF_Output* x, int nx, TF_Output* dx,
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 16:27:48 UTC 2024 - 102.3K bytes - Viewed (0) -
tensorflow/c/c_api_test.cc
FloatConst2x2(graph_, s_, grad_inputs_val, "GradInputs"); grad_inputs[0] = TF_Output{grad_inputs_op, 0}; TF_AddGradientsWithPrefix(graph_, prefix, outputs, noutputs, inputs, ninputs, grad_inputs, s_, grad_outputs); } else { TF_AddGradientsWithPrefix(graph_, prefix, outputs, noutputs, inputs, ninputs, nullptr, s_, grad_outputs); } }
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Sat Oct 12 16:27:48 UTC 2024 - 97K bytes - Viewed (0)