ArmNN
 20.02
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 101 of file LayerSupportRules.hpp.

Constructor & Destructor Documentation

◆ TypeIs()

TypeIs ( const TensorInfo info,
DataType  dt 
)
inline

Definition at line 103 of file LayerSupportRules.hpp.

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

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

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