telsoa01 | 4fcda01 | 2018-03-09 14:13:49 +0000 | [diff] [blame^] | 1 | // |
| 2 | // Copyright © 2017 Arm Ltd. All rights reserved. |
| 3 | // See LICENSE file in the project root for full license information. |
| 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 | |
| 17 | template <typename T> |
| 18 | void Permute(const armnn::TensorShape& dstShape, const armnn::PermutationVector& mappings, const T* src, T* dst); |
| 19 | |
| 20 | } // namespace armnnUtils |