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

Implement __index__ in EagerTensor.

This makes range(t) for an integer, scalar Tensor work in Python 3.

PiperOrigin-RevId: 206024230
parent e99262f6
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment