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
add BaseModel; store type in serialization #3335
add BaseModel; store type in serialization #3335
Changes from 2 commits
b374abc
325ff74
99dbc7b
7fbaf71
c2fb0be
7af6ce3
fd455b7
1fe4def
74c4116
ffc7dfc
054fba6
2f9d56f
4a17c1f
9681276
67b83ed
fbd1300
d3ef0a4
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
Check warning on line 144 in deepmd/dpmodel/atomic_model/dp_atomic_model.py
Codecov / codecov/patch
deepmd/dpmodel/atomic_model/dp_atomic_model.py#L143-L144
Check warning on line 196 in deepmd/dpmodel/atomic_model/linear_atomic_model.py
Codecov / codecov/patch
deepmd/dpmodel/atomic_model/linear_atomic_model.py#L194-L196
Check warning on line 284 in deepmd/dpmodel/atomic_model/linear_atomic_model.py
Codecov / codecov/patch
deepmd/dpmodel/atomic_model/linear_atomic_model.py#L282-L284
Check warning on line 109 in deepmd/dpmodel/atomic_model/pairtab_atomic_model.py
Codecov / codecov/patch
deepmd/dpmodel/atomic_model/pairtab_atomic_model.py#L109
Check warning on line 121 in deepmd/dpmodel/atomic_model/pairtab_atomic_model.py
Codecov / codecov/patch
deepmd/dpmodel/atomic_model/pairtab_atomic_model.py#L119-L121
Check warning on line 16 in deepmd/dpmodel/infer/deep_eval.py
Codecov / codecov/patch
deepmd/dpmodel/infer/deep_eval.py#L16
Check warning on line 88 in deepmd/dpmodel/infer/deep_eval.py
Codecov / codecov/patch
deepmd/dpmodel/infer/deep_eval.py#L88
Check warning on line 53 in deepmd/dpmodel/model/base_model.py
Codecov / codecov/patch
deepmd/dpmodel/model/base_model.py#L53
Check warning on line 135 in deepmd/dpmodel/model/base_model.py
Codecov / codecov/patch
deepmd/dpmodel/model/base_model.py#L133-L135
Check warning on line 140 in deepmd/dpmodel/model/base_model.py
Codecov / codecov/patch
deepmd/dpmodel/model/base_model.py#L139-L140
Check warning on line 142 in deepmd/dpmodel/model/base_model.py
Codecov / codecov/patch
deepmd/dpmodel/model/base_model.py#L142
Check warning on line 160 in deepmd/dpmodel/model/base_model.py
Codecov / codecov/patch
deepmd/dpmodel/model/base_model.py#L158-L160
Check warning on line 127 in deepmd/pt/model/atomic_model/pairtab_atomic_model.py
Codecov / codecov/patch
deepmd/pt/model/atomic_model/pairtab_atomic_model.py#L127
Check warning on line 5 in deepmd/pt/model/model/dp_model.py
Codecov / codecov/patch
deepmd/pt/model/model/dp_model.py#L5
Check warning on line 8 in deepmd/pt/model/model/dp_model.py
Codecov / codecov/patch
deepmd/pt/model/model/dp_model.py#L8
Check warning on line 11 in deepmd/pt/model/model/dp_model.py
Codecov / codecov/patch
deepmd/pt/model/model/dp_model.py#L11
Check warning on line 14 in deepmd/pt/model/model/dp_model.py
Codecov / codecov/patch
deepmd/pt/model/model/dp_model.py#L14
Check warning
Code scanning / CodeQL
Conflicting attributes in base classes Warning
Check warning on line 26 in deepmd/pt/model/model/dp_model.py
Codecov / codecov/patch
deepmd/pt/model/model/dp_model.py#L23-L26
Check notice
Code scanning / CodeQL
Cyclic import Note
Check warning on line 29 in deepmd/pt/model/model/dp_model.py
Codecov / codecov/patch
deepmd/pt/model/model/dp_model.py#L29
Check notice
Code scanning / CodeQL
Cyclic import Note
Check warning on line 32 in deepmd/pt/model/model/dp_model.py
Codecov / codecov/patch
deepmd/pt/model/model/dp_model.py#L32
Check notice
Code scanning / CodeQL
Cyclic import Note
Check warning on line 37 in deepmd/pt/model/model/dp_model.py
Codecov / codecov/patch
deepmd/pt/model/model/dp_model.py#L37
Check warning on line 44 in deepmd/pt/model/model/dp_model.py
Codecov / codecov/patch
deepmd/pt/model/model/dp_model.py#L39-L44
Check warning on line 47 in deepmd/pt/model/model/dp_model.py
Codecov / codecov/patch
deepmd/pt/model/model/dp_model.py#L46-L47
Check warning on line 12 in deepmd/pt/model/model/dp_zbl_model.py
Codecov / codecov/patch
deepmd/pt/model/model/dp_zbl_model.py#L12
Check warning on line 24 in deepmd/pt/model/model/dp_zbl_model.py
Codecov / codecov/patch
deepmd/pt/model/model/dp_zbl_model.py#L23-L24
Check warning
Code scanning / CodeQL
Conflicting attributes in base classes Warning