24.02
Transpose.hpp
Go to the documentation of this file.
1
//
2
// Copyright © 2020,2022 Arm Ltd and Contributors. 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
#include <stddef.h>
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
armnnUtils::Transpose
void Transpose(const armnn::TensorShape &dstShape, const armnn::PermutationVector &mappings, const void *src, void *dst, size_t dataTypeSize)
Definition:
Transpose.cpp:153
armnn::TensorInfo
Definition:
Tensor.hpp:152
armnnUtils::TransposeTensorShape
armnn::TensorShape TransposeTensorShape(const armnn::TensorShape &srcShape, const armnn::PermutationVector &mappings)
Definition:
Transpose.cpp:125
armnn::TensorShape
Definition:
Tensor.hpp:20
TensorFwd.hpp
armnnUtils
Definition:
CompatibleTypes.hpp:10
armnn::PermutationVector
Definition:
Types.hpp:314
Types.hpp
include
armnnUtils
Transpose.hpp
Generated on Wed Feb 14 2024 16:36:13 for Arm NN by
1.8.17