Comments (2)
it means de-quantization?
from apot_quantization.
Hi,
Thanks for your question. We define alpha
as the clipping threshold for the quantization. Not the step size between two adjacent quantization levels. So we expect the tensor divide by alpha will lie in [0, 1], and then scale them to [0, 2**b-1] so that round()
function can compute the corresponding integers. After, rounding-to-nearest, we scale the integers back to original range, also known as the de-quantization as you mentioned.
from apot_quantization.
Related Issues (20)
- Why the size of Res20_2bit is the same as Res20_32bit? HOT 1
- uniform_quantization HOT 1
- Size and accuracy HOT 5
- Lightning Integration
- Technical details HOT 2
- about CIFAR10 part main.py resume function HOT 2
- the precision a4w4 of training MobilenetV2 is nearly 0 HOT 4
- a4w4 Resnet18 is 1.7% lower than that in the paper?
- The MUL unit of APOT HOT 1
- Need Suggestion
- Some results about resnet20 on cifar10
- quantization bit of apot HOT 2
- about training time
- difference between paper and code in quan_layer HOT 2
- calculate MAC
- Hyper-Params on MobileNet_V2 HOT 1
- POT对硬件的友好性如何验证?用PC进行POT量化测试得到的精度可信吗?
- NaN loss for 8bit HOT 1
- Differences between quant_layer.py HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from apot_quantization.