ArmNN
 24.02
TypeIs Struct Reference

#include <LayerSupportRules.hpp>

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

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.

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

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