ONE - On-device Neural Engine
Loading...
Searching...
No Matches
onert::odc::IQuantizer Class Referenceabstract

#include <IQuantizer.h>

Public Member Functions

virtual ~IQuantizer ()=default
 
virtual int quantize (const char *in, const char *out, QuantizeType qtype)=0
 
virtual void setMinMaxRecordsThreshold (uint32_t value)=0
 Set the number of minmax records enough for quantization.
 
virtual bool readyForQuantize ()=0
 Checking the number of minmax records enough for quantization.
 
virtual bool deleteMinMaxFile ()=0
 Delete minmax file.
 

Detailed Description

Definition at line 28 of file IQuantizer.h.

Constructor & Destructor Documentation

◆ ~IQuantizer()

virtual onert::odc::IQuantizer::~IQuantizer ( )
virtualdefault

Member Function Documentation

◆ deleteMinMaxFile()

virtual bool onert::odc::IQuantizer::deleteMinMaxFile ( )
pure virtual

Delete minmax file.

Returns
True if there were no errors, False otherwise

Implemented in onert::odc::Quantizer.

◆ quantize()

virtual int onert::odc::IQuantizer::quantize ( const char *  in,
const char *  out,
QuantizeType  qtype 
)
pure virtual

Implemented in onert::odc::Quantizer.

◆ readyForQuantize()

virtual bool onert::odc::IQuantizer::readyForQuantize ( )
pure virtual

Checking the number of minmax records enough for quantization.

Returns
True if ready, False otherwise

Implemented in onert::odc::Quantizer.

◆ setMinMaxRecordsThreshold()

virtual void onert::odc::IQuantizer::setMinMaxRecordsThreshold ( uint32_t  value)
pure virtual

Set the number of minmax records enough for quantization.

Implemented in onert::odc::Quantizer.


The documentation for this class was generated from the following file: