chromium/components/autofill/core/browser/ml_model/autofill_model_executor.cc

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

#ifdef UNSAFE_BUFFERS_BUILD
// TODO: crbug.com/347137620 - Remove this and spanify to fix the errors.
#pragma allow_unsafe_buffers
#endif

#include "components/autofill/core/browser/ml_model/autofill_model_executor.h"

#include <vector>

#include "base/feature_list.h"
#include "base/ranges/algorithm.h"
#include "components/autofill/core/browser/ml_model/autofill_model_encoder.h"
#include "components/autofill/core/common/autofill_features.h"
#include "third_party/tflite/src/tensorflow/lite/kernels/internal/tensor_ctypes.h"

namespace autofill {

AutofillModelExecutor::AutofillModelExecutor() = default;
AutofillModelExecutor::~AutofillModelExecutor() = default;

bool AutofillModelExecutor::Preprocess(
    const std::vector<TfLiteTensor*>& input_tensors,
    const AutofillModelEncoder::ModelInput& input) {}

std::optional<AutofillModelEncoder::ModelOutput>
AutofillModelExecutor::Postprocess(
    const std::vector<const TfLiteTensor*>& output_tensors) {}

}  // namespace autofill