ArmNN
 24.08
ShapesAreSameRank Struct Reference

#include <LayerSupportRules.hpp>

Inheritance diagram for ShapesAreSameRank:
[legend]
Collaboration diagram for ShapesAreSameRank:
[legend]

Public Member Functions

 ShapesAreSameRank (const TensorInfo &info0, const TensorInfo &info1)
 
- Public Member Functions inherited from Rule
bool operator() () const
 

Additional Inherited Members

- Public Attributes inherited from Rule
bool m_Res = true
 

Detailed Description

Definition at line 137 of file LayerSupportRules.hpp.

Constructor & Destructor Documentation

◆ ShapesAreSameRank()

ShapesAreSameRank ( const TensorInfo info0,
const TensorInfo info1 
)
inline

Definition at line 139 of file LayerSupportRules.hpp.

140  {
141  m_Res = info0.GetShape().GetNumDimensions() == info1.GetShape().GetNumDimensions();
142  }

References TensorShape::GetNumDimensions(), TensorInfo::GetShape(), and Rule::m_Res.


The documentation for this struct was generated from the following file:
armnn::Rule::m_Res
bool m_Res
Definition: LayerSupportRules.hpp:54