Francis Murtagh | 40d2741 | 2021-10-28 11:11:35 +0100 | [diff] [blame] | 1 | // |
| 2 | // Copyright © 2020 Arm Ltd. All rights reserved. |
| 3 | // SPDX-License-Identifier: MIT |
| 4 | // |
| 5 | |
| 6 | #pragma once |
| 7 | |
| 8 | #include <armnn/TypesUtils.hpp> |
David Monahan | 2d99561 | 2021-11-01 10:16:37 +0000 | [diff] [blame] | 9 | #include <Half.hpp> |
Francis Murtagh | 40d2741 | 2021-10-28 11:11:35 +0100 | [diff] [blame] | 10 | |
| 11 | #include <mapbox/variant.hpp> |
| 12 | |
| 13 | namespace armnnUtils |
| 14 | { |
| 15 | |
David Monahan | 2d99561 | 2021-11-01 10:16:37 +0000 | [diff] [blame] | 16 | // Standard declaration of TContainer used by ArmNN |
| 17 | // Changes to this declaration constitute an api/abi break, new types should be added as a separate declaration and |
| 18 | // merged on the next planned api/abi update. |
| 19 | using TContainer = mapbox::util::variant<std::vector<float>, |
| 20 | std::vector<int>, |
| 21 | std::vector<uint8_t>, |
| 22 | std::vector<int8_t>, |
| 23 | std::vector<armnn::Half>>; |
Francis Murtagh | 40d2741 | 2021-10-28 11:11:35 +0100 | [diff] [blame] | 24 | |
| 25 | } // namespace armnnUtils |