diff options
author | 2018-09-06 07:29:33 -0700 | |
---|---|---|
committer | 2018-09-06 07:33:27 -0700 | |
commit | 04f3ddac5b69c85558657db5c1b409059716fdb7 (patch) | |
tree | c8ffc7918b8bd5a2cb35c6903eb38d0c26a1ecde /tensorflow/python/framework | |
parent | 973780717983b2ee1f4f52b5ab1f8595e6ba4a05 (diff) |
Documentation fix for TensorShape.__getitem__
RELNOTES: n/a
PiperOrigin-RevId: 211804843
Diffstat (limited to 'tensorflow/python/framework')
-rw-r--r-- | tensorflow/python/framework/tensor_shape.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tensorflow/python/framework/tensor_shape.py b/tensorflow/python/framework/tensor_shape.py index 11b681d544..3c2a736fb9 100644 --- a/tensorflow/python/framework/tensor_shape.py +++ b/tensorflow/python/framework/tensor_shape.py @@ -606,8 +606,8 @@ class TensorShape(object): slice. Raises: - ValueError: If `key` is a slice, and any of its elements are negative, or - if `self` is completely unknown and the step is set. + ValueError: If `key` is a slice and `self` is completely unknown and + the step is set. """ if self._dims is not None: if isinstance(key, slice): |