chromium/components/permissions/prediction_service/prediction_model_executor.cc

// Copyright 2021 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#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) {}

}  // namespace permissions