blob: d27e4c7ad7396c88fecc92e076add0840cdcb858 [file] [log] [blame]
Mike Kellyb5fdf382019-06-11 16:35:25 +01001//
2// Copyright © 2017 Arm Ltd. All rights reserved.
3// SPDX-License-Identifier: MIT
4//
5
6#pragma once
7
8#include "../ConversionUtils.hpp"
9
10#include <HalInterfaces.h>
11
12namespace armnn_driver
13{
14namespace hal_1_2
15{
16
17class HalPolicy
18{
19public:
20 using Model = V1_2::Model;
21 using Operand = V1_2::Operand;
22 using Operation = V1_2::Operation;
23 using OperationType = V1_2::OperationType;
24 using ExecutionCallback = V1_2::IExecutionCallback;
25 using getSupportedOperations_cb = V1_2::IDevice::getSupportedOperations_1_2_cb;
26
27 static bool ConvertOperation(const Operation& operation, const Model& model, ConversionData& data);
28};
29
30} // namespace hal_1_2
31} // namespace armnn_driver