ArmNN
 22.05.01
TypeIs Struct Reference

#include <LayerSupportRules.hpp>

Inheritance diagram for TypeIs:
Rule

Public Member Functions

 TypeIs (const TensorInfo &info, DataType dt)
 
- 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 102 of file LayerSupportRules.hpp.

Constructor & Destructor Documentation

◆ TypeIs()

TypeIs ( const TensorInfo info,
DataType  dt 
)
inline

Definition at line 104 of file LayerSupportRules.hpp.

References TensorInfo::GetDataType(), and Rule::m_Res.

105  {
106  m_Res = dt == info.GetDataType();
107  }

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