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