ArmNN
 21.11
PermuteDescriptor Struct Reference

A PermuteDescriptor for the PermuteLayer. More...

#include <Descriptors.hpp>

Inheritance diagram for PermuteDescriptor:
BaseDescriptor

Public Member Functions

 PermuteDescriptor ()
 
 PermuteDescriptor (const PermutationVector &dimMappings)
 
bool operator== (const PermuteDescriptor &rhs) const
 

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. More...
 

Detailed Description

A PermuteDescriptor for the PermuteLayer.

Definition at line 118 of file Descriptors.hpp.

Constructor & Destructor Documentation

◆ PermuteDescriptor() [1/2]

PermuteDescriptor ( )
inline

Definition at line 120 of file Descriptors.hpp.

121  : m_DimMappings{}
122  {}
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.

◆ PermuteDescriptor() [2/2]

PermuteDescriptor ( const PermutationVector dimMappings)
inline

Definition at line 124 of file Descriptors.hpp.

125  : m_DimMappings(dimMappings)
126  {}
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.

Member Function Documentation

◆ operator==()

bool operator== ( const PermuteDescriptor rhs) const
inline

Definition at line 128 of file Descriptors.hpp.

References PermuteDescriptor::m_DimMappings.

129  {
130  return m_DimMappings.IsEqual(rhs.m_DimMappings);
131  }
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.
bool IsEqual(const PermutationVector &other) const
Definition: Types.hpp:320

Member Data Documentation

◆ m_DimMappings

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.

{0U, 3U, 1U, 2U}.

Definition at line 135 of file Descriptors.hpp.

Referenced by armnnSerializer::GetFlatBufferArgMinMaxFunction(), PermuteLayer::GetPermutation(), PermuteLayer::InferOutputShapes(), PermuteDescriptor::operator==(), PermuteValueSet1Test(), PermuteValueSet2Test(), PermuteValueSet3Test(), StringifyLayerParameters< PermuteDescriptor >::Serialize(), SimplePermuteTest(), and TEST_SUITE().


The documentation for this struct was generated from the following file: