forked from lanl/hippynn
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated Cusp Regularization (lanl#59)
* Larger Cusp Regularization The regularization term for the hipnnvec and hipnnquad are changed to `1e-6`. * add cusp_reg kwarg for hipnn class. The new default cusp regularization term is larger to avoid numerical issues with force calculations. * add cusp_reg for interact layers The csup regularization is only needed for InteractLayerQuad and InteractLayerVec. * backward compatibility for cusp regularization The backwards compatibility function mutates the reloaded model graph in place. This function can be updated in the future based on which older versions of hippynn to support. * Passing cusp_reg to Hipnn base class * passing cusp_reg args * Move backwards compatbility hooks to the affected layer * apply code formatter * remove unused imports --------- Co-authored-by: Nicholas Lubbers <[email protected]> Co-authored-by: Nicholas Lubbers <[email protected]>
- Loading branch information
1 parent
e5ad4e2
commit e576555
Showing
3 changed files
with
73 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters