ArmNN
 22.02
TransposeDescriptor Struct Reference

A TransposeDescriptor for the TransposeLayer. More...

#include <Descriptors.hpp>

Inheritance diagram for TransposeDescriptor:
BaseDescriptor

Public Member Functions

 TransposeDescriptor ()
 
 TransposeDescriptor (const PermutationVector &dimMappings)
 
bool operator== (const TransposeDescriptor &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. More...
 

Detailed Description

A TransposeDescriptor for the TransposeLayer.

Definition at line 1442 of file Descriptors.hpp.

Constructor & Destructor Documentation

◆ TransposeDescriptor() [1/2]

TransposeDescriptor ( )
inline

Definition at line 1444 of file Descriptors.hpp.

1445  : m_DimMappings{}
1446  {}
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.

◆ TransposeDescriptor() [2/2]

TransposeDescriptor ( const PermutationVector dimMappings)
inline

Definition at line 1448 of file Descriptors.hpp.

1449  : m_DimMappings(dimMappings)
1450  {}
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 TransposeDescriptor rhs) const
inline

Definition at line 1452 of file Descriptors.hpp.

References TransposeDescriptor::m_DimMappings.

1453  {
1454  return m_DimMappings.IsEqual(rhs.m_DimMappings);
1455  }
bool IsEqual(const PermutationVector &other) const
Definition: Types.hpp:334
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 Data Documentation

◆ m_DimMappings


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