Open nghielme opened 10 months ago
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).
View this failed invocation of the CLA check for more information.
For the most up to date status, view the checks section at the bottom of the pull request.
I'm working on floating point quantizer and I think this line doesn't work in my case:
delta = self.quantizer.max() * 2**-self.quantizer.bits
With the modification proposed one can definedelta()
in the quantizer class and use it instead of making the computation in the initializer.