-
Notifications
You must be signed in to change notification settings - Fork 203
Implement CenteredClip in averager #379
New issue
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
Conversation
07d8f5f
to
6621bb5
Compare
Codecov Report
@@ Coverage Diff @@ ## master #379 +/- ## ========================================== - Coverage 83.98% 83.68% -0.31% ========================================== Files 70 71 +1 Lines 6383 6443 +60 ========================================== + Hits 5361 5392 +31 - Misses 1022 1051 +29
|
6621bb5
to
fee6195
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
preference: let's default to some reasonable delta and a very large n steps
Random thoughts:
- gotta ensure that we do not fail even if user sends nan/inf/near_inf values (both with compression and with raw values)
- would prefer to set delta to 1e-6 and increase n_iters dramatically (e.g. to 50) to make runtime adaptive
- let's print some warnings in case your values were more than e.g. 3 tau outside the range
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems like addmm_()
doesn't work correctly if the destination is equal to one of the operands.
Uh oh!
There was an error while loading. Please reload this page.
MeanReducer
,CenteredClipReducer
(btw, why not*Aggregator
?)Factory
to smth else,make_reducer: Callable[...]