-
Notifications
You must be signed in to change notification settings - Fork 508
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(pt): support
use_aparam_as_mask
for pt backend (#4246)
support `use_aparam_as_mask` for pt backend <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit ## Release Notes - **New Features** - Introduced `use_aparam_as_mask` parameter in `GeneralFitting`, `InvarFitting`, and `EnerFitting` classes, allowing users to conditionally exclude atomic parameters from fitting processes. - Added `seed` parameter to `InvarFitting` for enhanced control over randomness. - New test method `test_use_aparam_as_mask` in `TestInvarFitting` to validate behavior based on the new parameter. - **Bug Fixes** - Improved error handling for `use_aparam_as_mask` in various classes. - **Tests** - Enhanced parameterization in multiple test classes to accommodate new features related to atomic parameters. - Updated test methods in `TestInvarFitting` to include `use_aparam_as_mask` for comprehensive testing. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
- Loading branch information
1 parent
fa61d69
commit 5394854
Showing
10 changed files
with
162 additions
and
28 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
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
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
Oops, something went wrong.