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

Constructor & Destructor Documentation

◆ QuantizationParametersAreEqual()

QuantizationParametersAreEqual ( const TensorInfo info0,
const TensorInfo info1 
)
inline

Definition at line 82 of file LayerSupportRules.hpp.

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

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:54