-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Added MeanSubtractionNorm
layer
#5068
Conversation
Codecov Report
@@ Coverage Diff @@
## master #5068 +/- ##
=======================================
Coverage 82.96% 82.97%
=======================================
Files 332 333 +1
Lines 18353 18368 +15
=======================================
+ Hits 15227 15241 +14
- Misses 3126 3127 +1
Help us with your feedback. Take ten seconds to tell us how you rate us. |
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.
Nice discussion! Another option is to add a flag to PairNorm
to support MeanSubtractionNorm
or reimplement PairNorm
with MeanSubtractionNorm
so that we reduce the lines of code.
Nice suggestion @lightaime! I agree, we should do one of those two. |
We can re-implement |
AggSubtraction
norm layerMeanSubtractionNorm
norm layer
Agree @rusty1s. Just fixed up the main comments here. Lets do that elsewhere. |
MeanSubtractionNorm
norm layerMeanSubtractionNorm
layer
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.
Thank for your work @Padarn. Looks great as always!
Implements a generic version of the layer suggested here: #5056