Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for match (0.4 sec)

  1. tensorflow/c/experimental/gradients/custom_gradient_test.cc

                                  absl::Span<AbstractTensorHandle* const> inputs,
                                  absl::Span<AbstractTensorHandle*> outputs) {
      Tape tape(/*persistent=*/false);
      tape.Watch(inputs[0]);  // Watch x.
      AbstractTensorHandle* exp_output;
      TF_RETURN_IF_ERROR(ops::Exp(ctx, inputs[0], &exp_output, "Exp"));
      std::unique_ptr<GradientFunction> gradient_function(
          new PassThroughGradientFunction);
    C++
    - Registered: Tue Mar 26 12:39:09 GMT 2024
    - Last Modified: Wed Feb 28 13:53:47 GMT 2024
    - 4.8K bytes
    - Viewed (0)
Back to top