-
Notifications
You must be signed in to change notification settings - Fork 274
Open
Description
For relu op, setting QuantizationProperty as SYMMETRICAL and quant_min/quant_max to 0/255 and export the graph with platform=TargetPlatform.ONNXRUNTIME causes warning messages like this:
[Warning] Is it not safe to export TQC(/cnn/cnn.0/cnn.0.2/Relu_output_0) to Onnx, INT8 value range must be [-128, 127] or [0, 255], however [(0, 255)] was given.
But setting quant_min/quant_max to -128 and 127 leads to slightly worse quantization errors. Should relu output be set as ASYMMETRICAL? or should i just ignore these warning messages?
Metadata
Metadata
Assignees
Labels
No labels