MCPcopy Create free account
hub / github.com/ARM-software/armnn / GetQuantizationOffset

Method GetQuantizationOffset

src/armnn/Tensor.cpp:482–491  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

480}
481
482int32_t TensorInfo::GetQuantizationOffset() const
483{
484 if (!m_Quantization.m_Offset.has_value())
485 {
486 // NOTE: old default for backward compatibility
487 return 0;
488 }
489
490 return m_Quantization.m_Offset.value();
491}
492
493void TensorInfo::SetQuantizationOffset(int32_t offset)
494{

Callers 15

VisitLstmOperatorFunction · 0.45
VisitUnpackOperatorFunction · 0.45
VisitPadOperatorFunction · 0.45
VisitLstmOperatorFunction · 0.45
VisitUnpackOperatorFunction · 0.45
VisitPadOperatorFunction · 0.45
CreateTensorInfoMethod · 0.45
ToFloatArrayFunction · 0.45

Calls 2

has_valueMethod · 0.45
valueMethod · 0.45