-
Notifications
You must be signed in to change notification settings - Fork 1.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
MXMNetBesselBasis Layer #3497
MXMNetBesselBasis Layer #3497
Conversation
6380a84
to
458e8c4
Compare
Don't want to have two PRs both of which add something about the |
458e8c4
to
0092a65
Compare
c3673cd
to
626113f
Compare
624d0b0
to
a148f40
Compare
|
||
super(MXMNetBesselBasisLayer, self).__init__() | ||
self.cutoff = cutoff | ||
self.envelope: _MXMNetEnvelope = _MXMNetEnvelope(envelope_exponent) |
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 should be fine here now, but try to use general type hints in cases like these like nn.Module
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.
LGTM
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.
LGTM
Description
This layer implements a basis layer for the MXMNet model using Bessel functions.
The basis layer is used to model radial symmetry in molecular systems.
Type of change
Please check the option that is related to your PR.
Checklist
yapf -i <modified file>
and check no errors (yapf version must be 0.32.0)mypy -p deepchem
and check no errorsflake8 <modified file> --count
and check no errorspython -m doctest <modified file>
and check no errors