#include "components/permissions/prediction_service/prediction_model_executor.h"
#include "base/notreached.h"
#include "components/permissions/prediction_service/prediction_common.h"
#include "components/permissions/prediction_service/prediction_request_features.h"
#include "third_party/tflite_support/src/tensorflow_lite_support/cc/task/core/task_utils.h"
namespace permissions {
PredictionModelExecutorInput::PredictionModelExecutorInput() = default;
PredictionModelExecutorInput::~PredictionModelExecutorInput() = default;
PredictionModelExecutorInput::PredictionModelExecutorInput(
const PredictionModelExecutorInput&) = default;
PredictionModelExecutor::PredictionModelExecutor() = default;
PredictionModelExecutor::~PredictionModelExecutor() = default;
bool PredictionModelExecutor::Preprocess(
const std::vector<TfLiteTensor*>& input_tensors,
const PredictionModelExecutorInput& input) { … }
std::optional<GeneratePredictionsResponse> PredictionModelExecutor::Postprocess(
const std::vector<const TfLiteTensor*>& output_tensors) { … }
}