Commit 04933363 authored by Asim Shankar's avatar Asim Shankar Committed by TensorFlower Gardener
Browse files

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
parent 3a6bdc39
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment