ONE - On-device Neural Engine
|
#include <CircleQuantizer.h>
Data Structures | |
struct | LayerParam |
class | LayerParamsSet |
Public Types | |
enum | Algorithm { QuantizeDequantizeWeights , QuantizeWithMinMax , Requantize , CopyQuantParam , ForceQuantParam , ConvertToFakeQuantizedModel , QuantizeWeights , QuantizeOnnxFakeQuantizedModel } |
enum | AlgorithmParameters { Quantize_input_model_dtype , Quantize_output_model_dtype , Quantize_granularity , Quantize_tensor_names , Quantize_scales , Quantize_zero_points , Quantize_layer_params , Quantize_src_tensor_names , Quantize_dst_tensor_names , Quantize_input_type , Quantize_output_type , Quantize_TF_style_maxpool , Quantize_save_min_max } |
using | LayerParams = std::vector< std::shared_ptr< LayerParam > > |
Public Member Functions | |
virtual | ~Options ()=default |
virtual void | enable (Algorithm)=0 |
virtual bool | query (Algorithm)=0 |
virtual void | param (AlgorithmParameters, const std::string &)=0 |
virtual const std::string | param (AlgorithmParameters) const =0 |
virtual void | params (AlgorithmParameters, std::vector< std::string > &)=0 |
virtual std::vector< std::string > | params (AlgorithmParameters) const =0 |
virtual void | layer_params (AlgorithmParameters, LayerParams &)=0 |
virtual LayerParams | layer_params (AlgorithmParameters) const =0 |
virtual void | layer_params_set (LayerParamsSet &)=0 |
virtual LayerParamsSet | layer_params_set (void) const =0 |
Definition at line 32 of file CircleQuantizer.h.
using luci::CircleQuantizer::Options::LayerParams = std::vector<std::shared_ptr<LayerParam> > |
Definition at line 41 of file CircleQuantizer.h.
Enumerator | |
---|---|
QuantizeDequantizeWeights | |
QuantizeWithMinMax | |
Requantize | |
CopyQuantParam | |
ForceQuantParam | |
ConvertToFakeQuantizedModel | |
QuantizeWeights | |
QuantizeOnnxFakeQuantizedModel |
Definition at line 59 of file CircleQuantizer.h.
Definition at line 71 of file CircleQuantizer.h.
|
virtualdefault |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |