Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for grad_inputs_ (0.07 sec)

  1. tensorflow/c/eager/gradients.h

    //  public:
    //   Status Compute(Context* ctx,
    //                  absl::Span<AbstractTensorHandle* const> grad_inputs,
    //                  absl::Span<AbstractTensorHandle*> grad_outputs) override {
    //     grad_outputs[0] = grad_inputs[0];
    //     grad_outputs[1] = grad_inputs[0];
    //     grad_outputs[0]->Ref();
    //     grad_outputs[1]->Ref();
    //     return OkStatus();
    //   }
    //   ~AddGradientFunction() override {}
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 05:11:17 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  2. tensorflow/c/c_api_test.cc

          TF_Output grad_inputs[1];
          const float grad_inputs_val[] = {1.0, 1.0, 1.0, 1.0};
          TF_Operation* grad_inputs_op =
              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 {
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Sat Oct 12 16:27:48 UTC 2024
    - 97K bytes
    - Viewed (0)
Back to top