DNNLibrary icon indicating copy to clipboard operation
DNNLibrary copied to clipboard

Bad organized Quantization code

Open jcao-ai opened this issue 4 years ago • 0 comments

https://github.com/JDAI-CV/DNNLibrary/blob/e17f11e966b2cce7d747799b76bb9843813d4b01/quant.py#L269

Name of input tensor data is presumed which is not appropriate for most other model.

https://github.com/JDAI-CV/DNNLibrary/blob/e17f11e966b2cce7d747799b76bb9843813d4b01/quant.py#L216

Also there shouldn't be any presume that model needs normalization with mean/dev.

jcao-ai avatar May 29 '21 11:05 jcao-ai