blob: d2a868ac182c7c73843bb589bf2efa3a5a446c80 [file] [log] [blame]
Francis Murtagh40d27412021-10-28 11:11:35 +01001//
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 Monahan2d995612021-11-01 10:16:37 +00009#include <Half.hpp>
Francis Murtagh40d27412021-10-28 11:11:35 +010010
11#include <mapbox/variant.hpp>
12
13namespace armnnUtils
14{
15
David Monahan2d995612021-11-01 10:16:37 +000016// 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.
19using 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 Murtagh40d27412021-10-28 11:11:35 +010024
25} // namespace armnnUtils