From 1fa9b2c9852710dcd4c1acca36a1ad4b1137aad8 Mon Sep 17 00:00:00 2001 From: MediaPipe Team Date: Sun, 2 Apr 2023 08:30:02 -0700 Subject: [PATCH] Internal change PiperOrigin-RevId: 521279971 --- .../calculators/classification_aggregation_calculator.cc | 2 +- .../components/calculators/embedding_aggregation_calculator.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mediapipe/tasks/cc/components/calculators/classification_aggregation_calculator.cc b/mediapipe/tasks/cc/components/calculators/classification_aggregation_calculator.cc index 145076cd3..01e1292c3 100644 --- a/mediapipe/tasks/cc/components/calculators/classification_aggregation_calculator.cc +++ b/mediapipe/tasks/cc/components/calculators/classification_aggregation_calculator.cc @@ -111,7 +111,7 @@ class ClassificationAggregationCalculator : public Node { private: std::vector head_names_; bool time_aggregation_enabled_; - std::unordered_map> + std::unordered_map> cached_classifications_; ClassificationResult ConvertToClassificationResult(CalculatorContext* cc); diff --git a/mediapipe/tasks/cc/components/calculators/embedding_aggregation_calculator.cc b/mediapipe/tasks/cc/components/calculators/embedding_aggregation_calculator.cc index 6e06c4e32..94e0fcb36 100644 --- a/mediapipe/tasks/cc/components/calculators/embedding_aggregation_calculator.cc +++ b/mediapipe/tasks/cc/components/calculators/embedding_aggregation_calculator.cc @@ -83,7 +83,7 @@ class EmbeddingAggregationCalculator : public Node { private: bool time_aggregation_enabled_; - std::unordered_map cached_embeddings_; + std::unordered_map cached_embeddings_; }; absl::Status EmbeddingAggregationCalculator::UpdateContract(