#include "components/segmentation_platform/internal/execution/optimization_guide/segmentation_model_executor.h"
#include <vector>
#include "base/check_op.h"
#include "third_party/tflite/src/tensorflow/lite/c/common.h"
#include "third_party/tflite_support/src/tensorflow_lite_support/cc/task/core/task_utils.h"
namespace segmentation_platform {
SegmentationModelExecutor::SegmentationModelExecutor() = default;
SegmentationModelExecutor::~SegmentationModelExecutor() = default;
bool SegmentationModelExecutor::Preprocess(
const std::vector<TfLiteTensor*>& input_tensors,
const ModelProvider::Request& input) { … }
std::optional<ModelProvider::Response> SegmentationModelExecutor::Postprocess(
const std::vector<const TfLiteTensor*>& output_tensors) { … }
}