We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hi, 我注意到再dorefa的quantizer中 micronet/micronet/compression/quantization/wqaq/dorefa/quantize.py:43 关于activation部分的量化操作,在量化前先乘了0.1进行了数据缩放 output = torch.clamp(input * 0.1, 0, 1) # 特征A截断前先进行缩放(* 0.1),以减小截断误差 但是在量化/反量化操作之后,并没有再乘10回到原来的数据范围。这个问题怎么理解
output = torch.clamp(input * 0.1, 0, 1) # 特征A截断前先进行缩放(* 0.1),以减小截断误差
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi, 我注意到再dorefa的quantizer中
micronet/micronet/compression/quantization/wqaq/dorefa/quantize.py:43
关于activation部分的量化操作,在量化前先乘了0.1进行了数据缩放
output = torch.clamp(input * 0.1, 0, 1) # 特征A截断前先进行缩放(* 0.1),以减小截断误差
但是在量化/反量化操作之后,并没有再乘10回到原来的数据范围。这个问题怎么理解
The text was updated successfully, but these errors were encountered: