ArmNN
 25.11
Loading...
Searching...
No Matches
ResolveType.hpp
Go to the documentation of this file.
1//
2// Copyright © 2017 Arm Ltd and Contributors. All rights reserved.
3// SPDX-License-Identifier: MIT
4//
5
6#pragma once
7
8#include "armnn/Types.hpp"
9#include "BFloat16.hpp"
10#include "Half.hpp"
11
12namespace armnn
13{
14
15template<DataType DT>
17
18template <>
20{
21 using Type = Half;
22};
23
24template<>
26{
27 using Type = float;
28};
29
30template<>
32{
33 using Type = uint8_t;
34};
35
36template<>
38{
39 using Type = int8_t;
40};
41
42template<>
44{
45 using Type = int8_t;
46};
47
48template<>
50{
51 using Type = int16_t;
52};
53
54template<>
56{
57 using Type = int32_t;
58};
59
60template<>
62{
63 using Type = int64_t;
64};
65
66template<>
68{
69 using Type = uint8_t;
70};
71
72template<>
77
78template<DataType DT>
80
81} //namespace armnn
Copyright (c) 2021 ARM Limited and Contributors.
typename ResolveTypeImpl< DT >::Type ResolveType
half_float::half Half
Definition Half.hpp:22
DataType
Definition Types.hpp:49