chromium/third_party/mediapipe/src/mediapipe/calculators/tensor/inference_feedback_manager.h

#ifndef MEDIAPIPE_CALCULATORS_TENSOR_Inference_feedback_manager_H_
#define MEDIAPIPE_CALCULATORS_TENSOR_Inference_feedback_manager_H_

#include <vector>

#include "absl/container/flat_hash_set.h"
#include "absl/status/status.h"
#include "absl/status/statusor.h"
#include "mediapipe/calculators/tensor/inference_calculator.pb.h"
#include "mediapipe/calculators/tensor/inference_io_mapper.h"
#include "tensorflow/lite/interpreter.h"

namespace mediapipe {

// Feedback tensors are pairs of model output / input tensors where the
// model output is used as model input in the next model invocation. This allows
// to manage a notion of temporal state by continuously feeding from the model's
// output to the model's input during each inference step. The
// InferenceFeedbackManager initializes the feedback input tensors with zeros
// and efficiently swaps them from output to input with zero copies.
class InferenceFeedbackManager {};
}  // namespace mediapipe

#endif  // MEDIAPIPE_CALCULATORS_TENSOR_Inference_feedback_manager_H_