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
Chore: refactor dpmodel model #4296
Chore: refactor dpmodel model #4296
Changes from 16 commits
88f5079
de96159
ab3bd29
8e85e59
c5dab77
58b987e
a285d63
e2e9d60
47114ec
48d8d6c
81bd024
7490529
c040df3
8940dac
4802a9a
3355f50
5a11ff8
9071e73
1dc7fd9
0afee21
33452bd
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
Check warning on line 16 in deepmd/dpmodel/atomic_model/dipole_atomic_model.py
Codecov / codecov/patch
deepmd/dpmodel/atomic_model/dipole_atomic_model.py#L15-L16
Check warning on line 19 in deepmd/dpmodel/atomic_model/dipole_atomic_model.py
Codecov / codecov/patch
deepmd/dpmodel/atomic_model/dipole_atomic_model.py#L19
Check warning on line 27 in deepmd/dpmodel/atomic_model/dipole_atomic_model.py
Codecov / codecov/patch
deepmd/dpmodel/atomic_model/dipole_atomic_model.py#L27
Check warning on line 14 in deepmd/dpmodel/atomic_model/dos_atomic_model.py
Codecov / codecov/patch
deepmd/dpmodel/atomic_model/dos_atomic_model.py#L14
Check warning on line 17 in deepmd/dpmodel/atomic_model/energy_atomic_model.py
Codecov / codecov/patch
deepmd/dpmodel/atomic_model/energy_atomic_model.py#L17
Check warning on line 17 in deepmd/dpmodel/atomic_model/polar_atomic_model.py
Codecov / codecov/patch
deepmd/dpmodel/atomic_model/polar_atomic_model.py#L16-L17
Check warning on line 20 in deepmd/dpmodel/atomic_model/polar_atomic_model.py
Codecov / codecov/patch
deepmd/dpmodel/atomic_model/polar_atomic_model.py#L20
Check warning on line 37 in deepmd/dpmodel/atomic_model/polar_atomic_model.py
Codecov / codecov/patch
deepmd/dpmodel/atomic_model/polar_atomic_model.py#L37
Check warning on line 47 in deepmd/dpmodel/atomic_model/polar_atomic_model.py
Codecov / codecov/patch
deepmd/dpmodel/atomic_model/polar_atomic_model.py#L39-L47
Check warning on line 50 in deepmd/dpmodel/atomic_model/polar_atomic_model.py
Codecov / codecov/patch
deepmd/dpmodel/atomic_model/polar_atomic_model.py#L50
Check warning on line 55 in deepmd/dpmodel/atomic_model/polar_atomic_model.py
Codecov / codecov/patch
deepmd/dpmodel/atomic_model/polar_atomic_model.py#L54-L55
Check warning on line 57 in deepmd/dpmodel/atomic_model/polar_atomic_model.py
Codecov / codecov/patch
deepmd/dpmodel/atomic_model/polar_atomic_model.py#L57
Check warning on line 61 in deepmd/dpmodel/atomic_model/polar_atomic_model.py
Codecov / codecov/patch
deepmd/dpmodel/atomic_model/polar_atomic_model.py#L60-L61
Check warning on line 14 in deepmd/dpmodel/atomic_model/property_atomic_model.py
Codecov / codecov/patch
deepmd/dpmodel/atomic_model/property_atomic_model.py#L12-L14
Check warning on line 4 in deepmd/dpmodel/model/dipole_model.py
Codecov / codecov/patch
deepmd/dpmodel/model/dipole_model.py#L4
Check warning on line 7 in deepmd/dpmodel/model/dipole_model.py
Codecov / codecov/patch
deepmd/dpmodel/model/dipole_model.py#L7
Check warning on line 11 in deepmd/dpmodel/model/dipole_model.py
Codecov / codecov/patch
deepmd/dpmodel/model/dipole_model.py#L11
Check warning on line 14 in deepmd/dpmodel/model/dipole_model.py
Codecov / codecov/patch
deepmd/dpmodel/model/dipole_model.py#L14
Check warning on line 18 in deepmd/dpmodel/model/dipole_model.py
Codecov / codecov/patch
deepmd/dpmodel/model/dipole_model.py#L18
Check warning on line 23 in deepmd/dpmodel/model/dipole_model.py
Codecov / codecov/patch
deepmd/dpmodel/model/dipole_model.py#L21-L23
Check warning on line 25 in deepmd/dpmodel/model/dipole_model.py
Codecov / codecov/patch
deepmd/dpmodel/model/dipole_model.py#L25
Check warning on line 31 in deepmd/dpmodel/model/dipole_model.py
Codecov / codecov/patch
deepmd/dpmodel/model/dipole_model.py#L30-L31
Check warning on line 68 in deepmd/dpmodel/model/model.py
Codecov / codecov/patch
deepmd/dpmodel/model/model.py#L68
Check warning on line 3 in deepmd/dpmodel/model/polar_model.py
Codecov / codecov/patch
deepmd/dpmodel/model/polar_model.py#L3
Check warning on line 6 in deepmd/dpmodel/model/polar_model.py
Codecov / codecov/patch
deepmd/dpmodel/model/polar_model.py#L6
Check warning on line 10 in deepmd/dpmodel/model/polar_model.py
Codecov / codecov/patch
deepmd/dpmodel/model/polar_model.py#L10
Check warning on line 13 in deepmd/dpmodel/model/polar_model.py
Codecov / codecov/patch
deepmd/dpmodel/model/polar_model.py#L13
Check warning on line 17 in deepmd/dpmodel/model/polar_model.py
Codecov / codecov/patch
deepmd/dpmodel/model/polar_model.py#L17
Check warning on line 22 in deepmd/dpmodel/model/polar_model.py
Codecov / codecov/patch
deepmd/dpmodel/model/polar_model.py#L20-L22
Check warning on line 24 in deepmd/dpmodel/model/polar_model.py
Codecov / codecov/patch
deepmd/dpmodel/model/polar_model.py#L24
Check warning on line 30 in deepmd/dpmodel/model/polar_model.py
Codecov / codecov/patch
deepmd/dpmodel/model/polar_model.py#L29-L30
Check warning on line 17 in deepmd/pt/model/atomic_model/dipole_atomic_model.py
Codecov / codecov/patch
deepmd/pt/model/atomic_model/dipole_atomic_model.py#L17
Check warning on line 14 in deepmd/pt/model/atomic_model/dos_atomic_model.py
Codecov / codecov/patch
deepmd/pt/model/atomic_model/dos_atomic_model.py#L14
Check warning on line 20 in deepmd/pt/model/atomic_model/energy_atomic_model.py
Codecov / codecov/patch
deepmd/pt/model/atomic_model/energy_atomic_model.py#L20
Check warning on line 17 in deepmd/pt/model/atomic_model/polar_atomic_model.py
Codecov / codecov/patch
deepmd/pt/model/atomic_model/polar_atomic_model.py#L17
Check warning on line 17 in deepmd/pt/model/atomic_model/property_atomic_model.py
Codecov / codecov/patch
deepmd/pt/model/atomic_model/property_atomic_model.py#L17