-
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
Support normalization_resolver
in MLP
#4951
Conversation
Codecov Report
@@ Coverage Diff @@
## master #4951 +/- ##
==========================================
- Coverage 84.66% 82.71% -1.95%
==========================================
Files 330 330
Lines 17890 17891 +1
==========================================
- Hits 15146 14799 -347
- Misses 2744 3092 +348
Continue to review full report at Codecov.
|
normalization_resolver
in MLPnormalization_resolver
in MLP
torch_geometric/nn/models/mlp.py
Outdated
act_first = act_first or kwargs.get("relu_first", False) | ||
batch_norm = kwargs.get("batch_norm", None) | ||
if batch_norm is not None and isinstance(batch_norm, bool): | ||
warnings.warn("Argument `batch_norm` will be deprecated, " |
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.
I'm wondering if we should decide on a version in which it will be depreciated and note that here? WDYT?
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.
I am not sure when we want to fully deprecate it though. @rusty1s any idea on this?
Co-authored-by: Matthias Fey <[email protected]>
Co-authored-by: Matthias Fey <[email protected]>
|
Thank you @lightaime. Looking forward to the follow-up PR. |
This pull request added support for the
normalization_resolver
inMLP
.