#include "mediapipe/util/tflite/tflite_model_loader.h"
#include <memory>
#include <string>
#include <utility>
#include "absl/log/absl_log.h"
#include "absl/status/status.h"
#include "absl/status/statusor.h"
#include "mediapipe/framework/api2/packet.h"
#include "mediapipe/framework/port/file_helpers.h"
#include "mediapipe/framework/port/ret_check.h"
#include "mediapipe/framework/port/status_macros.h"
#include "mediapipe/util/resource_util.h"
#include "mediapipe/util/tflite/error_reporter.h"
#include "tensorflow/lite/allocation.h"
#include "tensorflow/lite/model_builder.h"
namespace mediapipe {
ErrorReporter;
Allocation;
FlatBufferModel;
MMAPAllocation;
absl::StatusOr<api2::Packet<TfLiteModelPtr>> TfLiteModelLoader::LoadFromPath(
const std::string& path, bool try_mmap) { … }
}