arovir01 | b0717b5 | 2018-09-05 17:03:25 +0100 | [diff] [blame] | 1 | // |
| 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 | |
| 12 | namespace armnn_driver |
| 13 | { |
| 14 | namespace hal_1_1 |
| 15 | { |
| 16 | |
| 17 | class HalPolicy |
| 18 | { |
| 19 | public: |
| 20 | using Model = V1_1::Model; |
| 21 | using Operation = V1_1::Operation; |
Nikhil Raj | 7760582 | 2018-09-03 11:25:56 +0100 | [diff] [blame^] | 22 | using OperationType = V1_1::OperationType; |
arovir01 | b0717b5 | 2018-09-05 17:03:25 +0100 | [diff] [blame] | 23 | using getSupportedOperations_cb = V1_1::IDevice::getSupportedOperations_1_1_cb; |
| 24 | |
| 25 | static bool ConvertOperation(const Operation& operation, const Model& model, ConversionData& data); |
| 26 | |
| 27 | private: |
| 28 | static bool ConvertDiv(const Operation& operation, const Model& model, ConversionData& data); |
| 29 | }; |
| 30 | |
| 31 | } // namespace hal_1_1 |
| 32 | } // namespace armnn_driver |