diff options
author | Geoffrey Irving <geoffreyi@google.com> | 2016-08-17 12:16:54 -0800 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2016-08-17 13:33:16 -0700 |
commit | 7817445b6677f66bba04ec7f3c0836cd3b719011 (patch) | |
tree | 00efbc4d3770a827c2e29b53309302bd47fedaa9 /third_party | |
parent | 0fcaae1ebd5943b0622f9953dbe0fb22f8eafbfc (diff) |
Fix gather for nonempty indices, empty slices
tf.gather([0], [[]]) now works. This required
1. Avoiding an empty GPU kernel launch.
2. Avoiding the use of -1 reshapes in the gradient. This code was also
simplified a bit using the fact that array_ops.shape does it's own
checking for fully defined shapes.
Change: 130554783
Diffstat (limited to 'third_party')
0 files changed, 0 insertions, 0 deletions