aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/python/layers/base.py
diff options
context:
space:
mode:
Diffstat (limited to 'tensorflow/python/layers/base.py')
-rw-r--r--tensorflow/python/layers/base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/python/layers/base.py b/tensorflow/python/layers/base.py
index ebf108d8ca..9e5772b891 100644
--- a/tensorflow/python/layers/base.py
+++ b/tensorflow/python/layers/base.py
@@ -537,7 +537,7 @@ class Layer(object):
if x.get_shape().ndims is None:
raise ValueError('Input ' + str(input_index) + ' of layer ' +
self.name + ' is incompatible with the layer: '
- 'its rank is undefined, by the layer requires a '
+ 'its rank is undefined, but the layer requires a '
'defined rank.')
# Check ndim.