-
Notifications
You must be signed in to change notification settings - Fork 59
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
Add light-weight MLP #372
Add light-weight MLP #372
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #372 +/- ##
==========================================
+ Coverage 93.45% 93.52% +0.06%
==========================================
Files 122 124 +2
Lines 6401 6451 +50
==========================================
+ Hits 5982 6033 +51
+ Misses 419 418 -1 ☔ View full report in Codecov by Sentry. |
) | ||
|
||
self.mlp = Sequential() | ||
norm_cls = LayerNorm if normalization == "layernorm" else BatchNorm1d |
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.
You don't respect no normalization here.
if (isinstance(param, Linear) or isinstance(param, BatchNorm1d) | ||
or isinstance(param, LayerNorm)): |
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.
if hasattr(self, 'reset_parameters'):
channels (int): The number of channels in the backbone layers. | ||
out_channels (int): The number of output channels in the decoder. | ||
num_layers (int): The number of layers in the backbone. | ||
col_stats(dict[str,Dict[:class:`torch_frame.data.stats.StatType`,Any]]): |
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.
missing white space.
No description provided.