Moving average for statistics in observers#26626
Moving average for statistics in observers#26626raghuramank100 wants to merge 6 commits intogh/raghuramank100/37/basefrom
Conversation
Differential Revision: [D17520344](https://our.internmc.facebook.com/intern/diff/D17520344/) [ghstack-poisoned]
Differential Revision: [D17520344](https://our.internmc.facebook.com/intern/diff/D17520344/) [ghstack-poisoned]
Differential Revision: [D17520344](https://our.internmc.facebook.com/intern/diff/D17520344/) [ghstack-poisoned]
Differential Revision: [D17520344](https://our.internmc.facebook.com/intern/diff/D17520344/) [ghstack-poisoned]
Differential Revision: [D17520344](https://our.internmc.facebook.com/intern/diff/D17520344/) [ghstack-poisoned]
| # aten/src/ATen/native/quantized/cpu/qconv.cpp | ||
| # This is not the optimal choice for non x86 backends as | ||
| # lose a bit of precision for activations. | ||
| self.averaging_constant = kwargs.pop('averaging_constant', 0.01) |
There was a problem hiding this comment.
nit: you don't need to do pop, just do __init__(self, averaging_constant=0.01, **kwargs) above
|
|
||
| def __init__(self, bins=2048, **kwargs): | ||
| # bins: The number of bins used for histogram calculation. | ||
| self.averaging_constant = kwargs.pop('averaging_constant', 0.01) |
Differential Revision: [D17520344](https://our.internmc.facebook.com/intern/diff/D17520344/) [ghstack-poisoned]
Pull Request resolved: pytorch/pytorch#26626 ghstack-source-id: 90704730 Differential Revision: [D17520344](https://our.internmc.facebook.com/intern/diff/D17520344/)
|
Hi @raghuramank100! Thank you for your pull request. We require contributors to sign our Contributor License Agreement, and yours needs attention. You currently have a record in our system, but the CLA is no longer valid, and will need to be resubmitted. ProcessIn order for us to review and merge your suggested changes, please sign at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need to sign the corporate CLA. Once the CLA is signed, our tooling will perform checks and validations. Afterwards, the pull request will be tagged with If you have received this in error or have any questions, please contact us at cla@fb.com. Thanks! |
|
Looks like this PR hasn't been updated in a while so we're going to go ahead and mark this as |
Stack from ghstack:
Differential Revision: D17520344