IVGCVSW-2467 Remove GetDataType<T> function
[platform/upstream/armnn.git] / src / armnnUtils / TensorUtils.hpp
1 //
2 // Copyright © 2017 Arm Ltd. All rights reserved.
3 // SPDX-License-Identifier: MIT
4 //
5
6 #pragma once
7
8 #include <armnn/TypesUtils.hpp>
9
10 namespace armnnUtils
11 {
12 armnn::TensorShape GetTensorShape(unsigned int numberOfBatches,
13                                   unsigned int numberOfChannels,
14                                   unsigned int height,
15                                   unsigned int width,
16                                   const armnn::DataLayout dataLayout);
17
18 armnn::TensorInfo GetTensorInfo(unsigned int numberOfBatches,
19                                 unsigned int numberOfChannels,
20                                 unsigned int height,
21                                 unsigned int width,
22                                 const armnn::DataLayout dataLayout,
23                                 const armnn::DataType dataType);
24
25 } // namespace armnnUtils