ArmNN
 24.08
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 180 of file LayerSupportRules.hpp.

Constructor & Destructor Documentation

◆ TensorNumDimensionsAreCorrect()

TensorNumDimensionsAreCorrect ( const TensorInfo info,
unsigned int  expectedNumDimensions 
)
inline

Definition at line 182 of file LayerSupportRules.hpp.

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

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