- Sort Score
- Result 10 results
- Languages All
Results 1 - 1 of 1 for ExpWithPassThroughGrad (0.24 sec)
-
tensorflow/c/experimental/gradients/custom_gradient_test.cc
} }; // Computes: // // @tf.custom_gradient // def f(input): // def grad(grads): // return grads[0] // return tf.exp(input), grad // outputs = [f(inputs[0])] Status ExpWithPassThroughGrad(AbstractContext* ctx, absl::Span<AbstractTensorHandle* const> inputs, absl::Span<AbstractTensorHandle*> outputs) { Tape tape(/*persistent=*/false);
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)