diff options
author | 2017-11-30 00:18:03 -0800 | |
---|---|---|
committer | 2017-11-30 00:24:48 -0800 | |
commit | 4422aaa61338c3af8ce80034d92693a1bd33b09d (patch) | |
tree | 9356e03438c30251cf3d5d8fb87d18bb9de9f13b /tensorflow/python/eager/backprop.py | |
parent | b97585f5d2157b1e0273a4b20a568635fb58ad57 (diff) |
Automated g4 rollback of changelist 177375237
PiperOrigin-RevId: 177418947
Diffstat (limited to 'tensorflow/python/eager/backprop.py')
-rw-r--r-- | tensorflow/python/eager/backprop.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/python/eager/backprop.py b/tensorflow/python/eager/backprop.py index dc1142705a..0144f3b1e5 100644 --- a/tensorflow/python/eager/backprop.py +++ b/tensorflow/python/eager/backprop.py @@ -540,7 +540,7 @@ def _ensure_unique_tensor_objects(parameter_positions, args): if i in parameter_positions: tid = ops.tensor_id(t) if tid in s: - args[i] = gen_array_ops.identity(args[i]) + args[i] = args[i]._dup() # pylint: disable=protected-access else: s.add(tid) return args |