aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--tensorflow/compiler/tests/randomized_tests.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/tensorflow/compiler/tests/randomized_tests.cc b/tensorflow/compiler/tests/randomized_tests.cc
index e53efc3091..16f293891d 100644
--- a/tensorflow/compiler/tests/randomized_tests.cc
+++ b/tensorflow/compiler/tests/randomized_tests.cc
@@ -619,8 +619,8 @@ std::vector<int64> OpTest::ImageDims(TensorFormat format, int batch,
dims.push_back(dim);
}
break;
- case FORMAT_NCHW_VECT_C:
- LOG(FATAL) << "FORMAT_NCHW_VECT_C not supported.";
+ default:
+ LOG(FATAL) << "Tensor format " << ToString(format) << " not supported.";
}
return dims;
}