blob: 3d9c8f9c623d132df6e95282f6bca6b821c531c8 [file] [log] [blame]
// Copyright 2021 The Chromium OS Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef ML_MODEL_CONVERSIONS_H_
#define ML_MODEL_CONVERSIONS_H_
#include <string>
#include "ml/benchmark.pb.h"
#include "ml/mojom/model.mojom.h"
namespace ml {
chromeos::machine_learning::mojom::GpuDelegateApi GpuDelegateApiFromProto(
TfliteGpuDelegateApi gpu_delegate_api);
chromeos::machine_learning::mojom::GpuDelegateApi GpuDelegateApiFromString(
const std::string& string);
} // namespace ml
#endif // ML_MODEL_CONVERSIONS_H_