ArmNN
 24.02
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 138 of file LayerSupportRules.hpp.

Constructor & Destructor Documentation

◆ ShapesAreSameRank()

ShapesAreSameRank ( const TensorInfo info0,
const TensorInfo info1 
)
inline

Definition at line 140 of file LayerSupportRules.hpp.

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

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:55