ArmNN
 24.02
QuantizationParametersAreEqual Struct Reference

#include <LayerSupportRules.hpp>

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

Public Member Functions

 QuantizationParametersAreEqual (const TensorInfo &info0, const TensorInfo &info1)
 
- 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 81 of file LayerSupportRules.hpp.

Constructor & Destructor Documentation

◆ QuantizationParametersAreEqual()

QuantizationParametersAreEqual ( const TensorInfo info0,
const TensorInfo info1 
)
inline

Definition at line 83 of file LayerSupportRules.hpp.

84  {
85  m_Res = info0.GetQuantizationScale() == info1.GetQuantizationScale() &&
86  info0.GetQuantizationOffset() == info1.GetQuantizationOffset();
87  }

References TensorInfo::GetQuantizationOffset(), TensorInfo::GetQuantizationScale(), 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