diff options
author | Adrian Kuegel <akuegel@google.com> | 2018-07-11 03:10:49 -0700 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2018-07-11 03:14:52 -0700 |
commit | b50e7b980c983beab90e62f6013aa3dc2f50ac7f (patch) | |
tree | 78bf9a28d00ded737584f349f19bc93a21551e4f /tensorflow/__init__.py | |
parent | 95cfd8b3d9697775804889fe994cc934b7273b51 (diff) |
Clamp gather indices instead of wrap-around.
So far, the behavior for out of bounds cases is undefined as
long as it does not crash. Clamping is cheaper because we don't
need a URem operation, and for DynamicSlice we already do that.
PiperOrigin-RevId: 204096995
Diffstat (limited to 'tensorflow/__init__.py')
0 files changed, 0 insertions, 0 deletions