aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/compiler/xla/service/shape_inference.cc
diff options
context:
space:
mode:
authorGravatar Sanjoy Das <sanjoy@google.com>2018-03-08 18:37:35 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2018-03-08 19:20:18 -0800
commit172aee510ec75043672a611ccc07de88c3320294 (patch)
tree2c6d428ffc5165b86e81a5dac916e6facfab6f92 /tensorflow/compiler/xla/service/shape_inference.cc
parent5fd341d3987fa04195b6469fb359493f63fa616c (diff)
Fix typo in error message
PiperOrigin-RevId: 188425637
Diffstat (limited to 'tensorflow/compiler/xla/service/shape_inference.cc')
-rw-r--r--tensorflow/compiler/xla/service/shape_inference.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/tensorflow/compiler/xla/service/shape_inference.cc b/tensorflow/compiler/xla/service/shape_inference.cc
index 915baecc56..2ff7ae97b7 100644
--- a/tensorflow/compiler/xla/service/shape_inference.cc
+++ b/tensorflow/compiler/xla/service/shape_inference.cc
@@ -2092,8 +2092,8 @@ ShapeInference::InferDegenerateDimensionBroadcastShape(
const int64 start_num_dims = start_indices_shape.dimensions(0);
if (ShapeUtil::Rank(operand_shape) != start_num_dims) {
return InvalidArgument(
- "Dynamic slice start number of dimensions %lld (%s) must match rank "
- "%lld of slice input (%s).",
+ "Dynamic update slice start number of dimensions %lld (%s) must match "
+ "rank %lld of slice input (%s).",
start_num_dims, ShapeUtil::HumanString(start_indices_shape).c_str(),
ShapeUtil::Rank(operand_shape),
ShapeUtil::HumanString(operand_shape).c_str());