Laurent Carlier | 749294b | 2020-06-01 09:03:17 +0100 | [diff] [blame] | 1 | // |
Mike Kelly | c9ea45a | 2020-02-28 18:11:58 +0000 | [diff] [blame] | 2 | // Copyright © 2020 Arm Ltd. All rights reserved. |
| 3 | // SPDX-License-Identifier: MIT |
| 4 | // |
| 5 | |
| 6 | #pragma once |
| 7 | |
| 8 | #include <armnn/TensorFwd.hpp> |
| 9 | #include <armnn/Types.hpp> |
| 10 | |
| 11 | namespace armnnUtils |
| 12 | { |
| 13 | |
| 14 | armnn::TensorShape TransposeTensorShape(const armnn::TensorShape& srcShape, const armnn::PermutationVector& mappings); |
| 15 | |
| 16 | armnn::TensorInfo TransposeTensorShape(const armnn::TensorInfo& info, const armnn::PermutationVector& mappings); |
| 17 | |
| 18 | void Transpose(const armnn::TensorShape& dstShape, const armnn::PermutationVector& mappings, |
| 19 | const void* src, void* dst, size_t dataTypeSize); |
| 20 | |
| 21 | } // namespace armnnUtils |