Nina Drozd | d41b259 | 2018-11-19 13:03:36 +0000 | [diff] [blame] | 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 | |
Nina Drozd | d41b259 | 2018-11-19 13:03:36 +0000 | [diff] [blame] | 18 | armnn::TensorInfo GetTensorInfo(unsigned int numberOfBatches, |
| 19 | unsigned int numberOfChannels, |
| 20 | unsigned int height, |
| 21 | unsigned int width, |
Nattapat Chaimanowong | 649dd95 | 2019-01-22 16:10:44 +0000 | [diff] [blame] | 22 | const armnn::DataLayout dataLayout, |
| 23 | const armnn::DataType dataType); |
| 24 | |
Jim Flynn | f92dfce | 2019-05-02 11:33:25 +0100 | [diff] [blame] | 25 | std::pair<float, float> FindMinMax(armnn::ITensorHandle* tensorHandle); |
| 26 | |
Nattapat Chaimanowong | 649dd95 | 2019-01-22 16:10:44 +0000 | [diff] [blame] | 27 | } // namespace armnnUtils |