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

Constructor & Destructor Documentation

◆ TypeIs()

TypeIs ( const TensorInfo info,
DataType  dt 
)
inline

Definition at line 103 of file LayerSupportRules.hpp.

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

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