diff --git a/mediapipe/tasks/cc/components/processors/classification_postprocessing_graph_test.cc b/mediapipe/tasks/cc/components/processors/classification_postprocessing_graph_test.cc index 6dff64b1b..a61ffa6b1 100644 --- a/mediapipe/tasks/cc/components/processors/classification_postprocessing_graph_test.cc +++ b/mediapipe/tasks/cc/components/processors/classification_postprocessing_graph_test.cc @@ -520,7 +520,7 @@ TEST_F(PostprocessingTest, SucceedsWithoutMetadata) { auto poller, BuildGraph(kQuantizedImageClassifierWithoutMetadata, options)); // Build input tensors. - std::vector tensor(kMobileNetNumClasses, 0); + std::vector tensor(kMobileNetNumClasses, 0); tensor[1] = 18; tensor[2] = 16; @@ -552,7 +552,7 @@ TEST_F(PostprocessingTest, SucceedsWithMetadata) { MP_ASSERT_OK_AND_ASSIGN( auto poller, BuildGraph(kQuantizedImageClassifierWithMetadata, options)); // Build input tensors. - std::vector tensor(kMobileNetNumClasses, 0); + std::vector tensor(kMobileNetNumClasses, 0); tensor[1] = 12; tensor[2] = 14; tensor[3] = 16; @@ -589,7 +589,7 @@ TEST_F(PostprocessingTest, SucceedsWithScoreCalibration) { auto poller, BuildGraph(kQuantizedImageClassifierWithDummyScoreCalibration, options)); // Build input tensors. - std::vector tensor(kMobileNetNumClasses, 0); + std::vector tensor(kMobileNetNumClasses, 0); tensor[1] = 12; tensor[2] = 14; tensor[3] = 16; @@ -677,11 +677,11 @@ TEST_F(PostprocessingTest, SucceedsWithTimestamps) { auto poller, BuildGraph(kQuantizedImageClassifierWithMetadata, options, /*connect_timestamps=*/true)); // Build input tensors. - std::vector tensor_0(kMobileNetNumClasses, 0); + std::vector tensor_0(kMobileNetNumClasses, 0); tensor_0[1] = 12; tensor_0[2] = 14; tensor_0[3] = 16; - std::vector tensor_1(kMobileNetNumClasses, 0); + std::vector tensor_1(kMobileNetNumClasses, 0); tensor_1[5] = 12; tensor_1[6] = 14; tensor_1[7] = 16;