diff options
Diffstat (limited to 'tests/common/ClassifierTests.cc')
-rw-r--r-- | tests/common/ClassifierTests.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/common/ClassifierTests.cc b/tests/common/ClassifierTests.cc index a04e4c2..d950304 100644 --- a/tests/common/ClassifierTests.cc +++ b/tests/common/ClassifierTests.cc @@ -21,7 +21,7 @@ template<typename T> void test_classifier_result(std::vector<std::pair<uint32_t, T>>& selectedResults, T defaultTensorValue) { - const int dimArray[] = {1, 1001}; + int dimArray[] = {1, 1001}; std::vector <std::string> labels(1001); std::vector<T> outputVec(1001, defaultTensorValue); TfLiteIntArray* dims= tflite::testing::IntArrayFromInts(dimArray); |