diff options
author | 2018-07-25 11:20:00 -0700 | |
---|---|---|
committer | 2018-07-25 11:24:22 -0700 | |
commit | 972920262107f5900abd79611e9432ddc6cd810b (patch) | |
tree | ec0adf7736b9e0d1e6d702559bb902cd465946f3 /tensorflow/cc | |
parent | e99262f6ec4a9ea8921d390945dbf0cd90d58d34 (diff) |
Implement __index__ in EagerTensor.
This makes range(t) for an integer, scalar Tensor work in Python 3.
PiperOrigin-RevId: 206024230
Diffstat (limited to 'tensorflow/cc')
0 files changed, 0 insertions, 0 deletions