Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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
feat: support serialize and deserialize for atomic model's compute output stat #3649
feat: support serialize and deserialize for atomic model's compute output stat #3649
Changes from 2 commits
1d1f5a8
c490fed
4b79de9
8da0c78
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
Check warning on line 42 in deepmd/dpmodel/atomic_model/base_atomic_model.py
Codecov / codecov/patch
deepmd/dpmodel/atomic_model/base_atomic_model.py#L41-L42
Check warning on line 48 in deepmd/dpmodel/atomic_model/base_atomic_model.py
Codecov / codecov/patch
deepmd/dpmodel/atomic_model/base_atomic_model.py#L46-L48
Check warning on line 55 in deepmd/dpmodel/atomic_model/base_atomic_model.py
Codecov / codecov/patch
deepmd/dpmodel/atomic_model/base_atomic_model.py#L51-L55
Check warning on line 61 in deepmd/dpmodel/atomic_model/base_atomic_model.py
Codecov / codecov/patch
deepmd/dpmodel/atomic_model/base_atomic_model.py#L58-L61
Check warning on line 63 in deepmd/dpmodel/atomic_model/base_atomic_model.py
Codecov / codecov/patch
deepmd/dpmodel/atomic_model/base_atomic_model.py#L63
Check warning on line 69 in deepmd/dpmodel/atomic_model/base_atomic_model.py
Codecov / codecov/patch
deepmd/dpmodel/atomic_model/base_atomic_model.py#L66-L69
Check warning on line 71 in deepmd/dpmodel/atomic_model/base_atomic_model.py
Codecov / codecov/patch
deepmd/dpmodel/atomic_model/base_atomic_model.py#L71
Check warning on line 169 in deepmd/dpmodel/atomic_model/base_atomic_model.py
Codecov / codecov/patch
deepmd/dpmodel/atomic_model/base_atomic_model.py#L169
Check warning on line 206 in deepmd/dpmodel/atomic_model/base_atomic_model.py
Codecov / codecov/patch
deepmd/dpmodel/atomic_model/base_atomic_model.py#L201-L206
Check warning on line 226 in deepmd/dpmodel/atomic_model/base_atomic_model.py
Codecov / codecov/patch
deepmd/dpmodel/atomic_model/base_atomic_model.py#L225-L226
Check warning on line 229 in deepmd/dpmodel/atomic_model/base_atomic_model.py
Codecov / codecov/patch
deepmd/dpmodel/atomic_model/base_atomic_model.py#L228-L229
Check warning on line 239 in deepmd/dpmodel/atomic_model/base_atomic_model.py
Codecov / codecov/patch
deepmd/dpmodel/atomic_model/base_atomic_model.py#L235-L239
Check warning on line 250 in deepmd/dpmodel/atomic_model/base_atomic_model.py
Codecov / codecov/patch
deepmd/dpmodel/atomic_model/base_atomic_model.py#L245-L250
Check warning on line 262 in deepmd/dpmodel/atomic_model/base_atomic_model.py
Codecov / codecov/patch
deepmd/dpmodel/atomic_model/base_atomic_model.py#L256-L262
Check warning on line 265 in deepmd/dpmodel/atomic_model/base_atomic_model.py
Codecov / codecov/patch
deepmd/dpmodel/atomic_model/base_atomic_model.py#L265
Check warning on line 268 in deepmd/dpmodel/atomic_model/base_atomic_model.py
Codecov / codecov/patch
deepmd/dpmodel/atomic_model/base_atomic_model.py#L268
Check warning on line 52 in deepmd/dpmodel/atomic_model/dp_atomic_model.py
Codecov / codecov/patch
deepmd/dpmodel/atomic_model/dp_atomic_model.py#L52
Check warning on line 57 in deepmd/dpmodel/atomic_model/dp_atomic_model.py
Codecov / codecov/patch
deepmd/dpmodel/atomic_model/dp_atomic_model.py#L57
Check warning on line 172 in deepmd/dpmodel/atomic_model/dp_atomic_model.py
Codecov / codecov/patch
deepmd/dpmodel/atomic_model/dp_atomic_model.py#L172
Check warning on line 179 in deepmd/dpmodel/atomic_model/dp_atomic_model.py
Codecov / codecov/patch
deepmd/dpmodel/atomic_model/dp_atomic_model.py#L177-L179
Check warning on line 56 in deepmd/dpmodel/atomic_model/linear_atomic_model.py
Codecov / codecov/patch
deepmd/dpmodel/atomic_model/linear_atomic_model.py#L55-L56
Check warning on line 90 in deepmd/dpmodel/atomic_model/linear_atomic_model.py
Codecov / codecov/patch
deepmd/dpmodel/atomic_model/linear_atomic_model.py#L90
Check warning on line 227 in deepmd/dpmodel/atomic_model/linear_atomic_model.py
Codecov / codecov/patch
deepmd/dpmodel/atomic_model/linear_atomic_model.py#L226-L227
Check warning on line 236 in deepmd/dpmodel/atomic_model/linear_atomic_model.py
Codecov / codecov/patch
deepmd/dpmodel/atomic_model/linear_atomic_model.py#L236
Check warning on line 243 in deepmd/dpmodel/atomic_model/linear_atomic_model.py
Codecov / codecov/patch
deepmd/dpmodel/atomic_model/linear_atomic_model.py#L241-L243
Check warning on line 249 in deepmd/dpmodel/atomic_model/linear_atomic_model.py
Codecov / codecov/patch
deepmd/dpmodel/atomic_model/linear_atomic_model.py#L248-L249
Check warning on line 345 in deepmd/dpmodel/atomic_model/linear_atomic_model.py
Codecov / codecov/patch
deepmd/dpmodel/atomic_model/linear_atomic_model.py#L343-L345
Check warning on line 352 in deepmd/dpmodel/atomic_model/linear_atomic_model.py
Codecov / codecov/patch
deepmd/dpmodel/atomic_model/linear_atomic_model.py#L352
Check warning on line 369 in deepmd/dpmodel/atomic_model/linear_atomic_model.py
Codecov / codecov/patch
deepmd/dpmodel/atomic_model/linear_atomic_model.py#L368-L369
Check warning on line 376 in deepmd/dpmodel/atomic_model/linear_atomic_model.py
Codecov / codecov/patch
deepmd/dpmodel/atomic_model/linear_atomic_model.py#L373-L376
Check warning on line 67 in deepmd/dpmodel/atomic_model/pairtab_atomic_model.py
Codecov / codecov/patch
deepmd/dpmodel/atomic_model/pairtab_atomic_model.py#L67
Check warning
Code scanning / CodeQL
Overwriting attribute in super-class or sub-class Warning
Check warning on line 171 in deepmd/dpmodel/atomic_model/pairtab_atomic_model.py
Codecov / codecov/patch
deepmd/dpmodel/atomic_model/pairtab_atomic_model.py#L171
Check warning on line 176 in deepmd/dpmodel/atomic_model/pairtab_atomic_model.py
Codecov / codecov/patch
deepmd/dpmodel/atomic_model/pairtab_atomic_model.py#L175-L176