|
25.11
|
A PermuteDescriptor for the PermuteLayer. More...
#include <Descriptors.hpp>
Public Member Functions | |
| PermuteDescriptor () | |
| PermuteDescriptor (const PermutationVector &dimMappings) | |
| bool | operator== (const PermuteDescriptor &rhs) const |
| Public Member Functions inherited from BaseDescriptor | |
| virtual bool | IsNull () const |
| virtual | ~BaseDescriptor ()=default |
Public Attributes | |
| PermutationVector | m_DimMappings |
| Indicates how to translate tensor elements from a given source into the target destination, when source and target potentially have different memory layouts e.g. | |
A PermuteDescriptor for the PermuteLayer.
Definition at line 149 of file Descriptors.hpp.
|
inline |
Definition at line 151 of file Descriptors.hpp.
References m_DimMappings.
Referenced by operator==().
|
inline |
Definition at line 155 of file Descriptors.hpp.
References m_DimMappings.
|
inline |
Definition at line 159 of file Descriptors.hpp.
References m_DimMappings, and PermuteDescriptor().
| PermutationVector m_DimMappings |
Indicates how to translate tensor elements from a given source into the target destination, when source and target potentially have different memory layouts e.g.
Input Shape {1, 1, 4, 4} Permutation Vector {0, 2, 3, 1} Output Shape {1, 4, 1, 4} dim "0" goes into index 0 ([ 1, X, X, X ]) dim "1" goes into index 2 ([ 1, X, 1, X ]) dim "2" goes into index 3 ([ 1, X, 1, 4 ]) dim "3" goes into index 1 ([ 1, 4, 1, 4 ])
Definition at line 173 of file Descriptors.hpp.
Referenced by armnn::ClPermuteWorkloadValidate(), armnn::NeonPermuteWorkloadValidate(), operator==(), PermuteDescriptor(), PermuteDescriptor(), and StringifyLayerParameters< PermuteDescriptor >::Serialize().