aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/python/kernel_tests/reverse_sequence_op_test.py
diff options
context:
space:
mode:
authorGravatar A. Unique TensorFlower <gardener@tensorflow.org>2016-09-02 08:40:10 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2016-09-02 09:47:51 -0700
commit92052d14875ae0ab3daeacabcaa24e239d50f193 (patch)
tree882ea50656b6f10f336848c747c682cb42779fae /tensorflow/python/kernel_tests/reverse_sequence_op_test.py
parentec462892544ea605c37206a729dade0444320f82 (diff)
Enable C++ shape function for math_ops.py and array_ops.cc shape functions that
don't require access to the input tensor values. Change: 132071962
Diffstat (limited to 'tensorflow/python/kernel_tests/reverse_sequence_op_test.py')
-rw-r--r--tensorflow/python/kernel_tests/reverse_sequence_op_test.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/tensorflow/python/kernel_tests/reverse_sequence_op_test.py b/tensorflow/python/kernel_tests/reverse_sequence_op_test.py
index cea9711d32..4c5ab90464 100644
--- a/tensorflow/python/kernel_tests/reverse_sequence_op_test.py
+++ b/tensorflow/python/kernel_tests/reverse_sequence_op_test.py
@@ -134,7 +134,7 @@ class ReverseSequenceTest(tf.test.TestCase):
seq_dim=3)
# seq_dim out of bounds.
- with self.assertRaisesRegexp(ValueError, "seq_dim must be < input.dims()"):
+ with self.assertRaisesRegexp(ValueError, "seq_dim must be < input rank"):
tf.reverse_sequence(
tf.placeholder(tf.float32, shape=(32, 2, 3)),
seq_lengths=tf.placeholder(tf.int64, shape=(32,)),
@@ -142,7 +142,7 @@ class ReverseSequenceTest(tf.test.TestCase):
# batch_dim out of bounds.
with self.assertRaisesRegexp(
- ValueError, "batch_dim must be < input.dims()"):
+ ValueError, "batch_dim must be < input rank"):
tf.reverse_sequence(
tf.placeholder(tf.float32, shape=(32, 2, 3)),
seq_lengths=tf.placeholder(tf.int64, shape=(32,)),