ArmNN
 24.02
TensorNumDimensionsAreCorrect Struct Reference

#include <LayerSupportRules.hpp>

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

Public Member Functions

 TensorNumDimensionsAreCorrect (const TensorInfo &info, unsigned int expectedNumDimensions)
 
- 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 181 of file LayerSupportRules.hpp.

Constructor & Destructor Documentation

◆ TensorNumDimensionsAreCorrect()

TensorNumDimensionsAreCorrect ( const TensorInfo info,
unsigned int  expectedNumDimensions 
)
inline

Definition at line 183 of file LayerSupportRules.hpp.

184  {
185  m_Res = info.GetNumDimensions() == expectedNumDimensions;
186  }

References armnn::info, 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
armnn::BoostLogSeverityMapping::info
@ info