diff options
author | 2018-05-18 21:44:09 -0700 | |
---|---|---|
committer | 2018-05-18 21:46:48 -0700 | |
commit | e34dcfe39f2000a9a8b47c4986b77acbde1ca34e (patch) | |
tree | 926a83ba7a82ca8bbc7a0d047ef5ba4a05ad599b | |
parent | 81168f21b7468f34614700e8abd998e836692aa8 (diff) |
Fix compile error due to missing default case in switch statement.
PiperOrigin-RevId: 197240781
-rw-r--r-- | tensorflow/compiler/tests/randomized_tests.cc | 4 |
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; } |