Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for TF_AddGradientsWithPrefix (0.42 sec)

  1. 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: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Oct 26 21:08:15 UTC 2023
    - 82.3K bytes
    - Viewed (0)
  2. 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: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 102.3K bytes
    - Viewed (0)
  3. 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: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Apr 15 03:35:10 UTC 2024
    - 96.9K bytes
    - Viewed (0)
Back to top