blob: af85878126611055c2f9639617e2bf1138cc5cd9 [file] [log] [blame]
arovir01b0717b52018-09-05 17:03:25 +01001//
2// Copyright © 2017 Arm Ltd. All rights reserved.
3// SPDX-License-Identifier: MIT
4//
5
6#pragma once
7
Matteo Martincigh8b287c22018-09-07 09:25:10 +01008#include "../ConversionUtils.hpp"
arovir01b0717b52018-09-05 17:03:25 +01009
10#include <HalInterfaces.h>
11
12namespace armnn_driver
13{
14namespace hal_1_1
15{
16
17class HalPolicy
18{
19public:
20 using Model = V1_1::Model;
21 using Operation = V1_1::Operation;
Nikhil Raj77605822018-09-03 11:25:56 +010022 using OperationType = V1_1::OperationType;
arovir01b0717b52018-09-05 17:03:25 +010023 using getSupportedOperations_cb = V1_1::IDevice::getSupportedOperations_1_1_cb;
24
25 static bool ConvertOperation(const Operation& operation, const Model& model, ConversionData& data);
26
27private:
28 static bool ConvertDiv(const Operation& operation, const Model& model, ConversionData& data);
29};
30
31} // namespace hal_1_1
32} // namespace armnn_driver