aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/python/framework/tensor_shape.py
diff options
context:
space:
mode:
Diffstat (limited to 'tensorflow/python/framework/tensor_shape.py')
-rw-r--r--tensorflow/python/framework/tensor_shape.py4
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):