telsoa01 | 4fcda01 | 2018-03-09 14:13:49 +0000 | [diff] [blame] | 1 | // |
| 2 | // Copyright © 2017 Arm Ltd. All rights reserved. |
David Beck | ecb56cd | 2018-09-05 12:52:57 +0100 | [diff] [blame] | 3 | // SPDX-License-Identifier: MIT |
telsoa01 | 4fcda01 | 2018-03-09 14:13:49 +0000 | [diff] [blame] | 4 | // |
| 5 | #pragma once |
| 6 | |
| 7 | #include <armnn/TensorFwd.hpp> |
| 8 | #include <armnn/Types.hpp> |
| 9 | |
| 10 | namespace armnnUtils |
| 11 | { |
| 12 | |
| 13 | armnn::TensorShape Permuted(const armnn::TensorShape& srcShape, const armnn::PermutationVector& mappings); |
| 14 | |
| 15 | armnn::TensorInfo Permuted(const armnn::TensorInfo& info, const armnn::PermutationVector& mappings); |
| 16 | |
Matteo Martincigh | 747ef82 | 2018-12-18 09:26:39 +0000 | [diff] [blame] | 17 | void Permute(const armnn::TensorShape& dstShape, const armnn::PermutationVector& mappings, |
| 18 | const void* src, void* dst, size_t dataTypeSize); |
| 19 | |
Matteo Martincigh | 747ef82 | 2018-12-18 09:26:39 +0000 | [diff] [blame] | 20 | } // namespace armnnUtils |