eager: Fix bug in tfe.gradients_function().
The generated function was not always treating function parameters as distinct tensors. Added test would fail (the calls to np_g() would return [2., 2.] instead of [1., 1.]) without the corresponding change to backprop.py PiperOrigin-RevId: 169642367
Loading
Please sign in to comment