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(pt): consistent "frozen" model #3450
feat(pt): consistent "frozen" model #3450
Changes from 4 commits
0eb7847
72fbcfd
5b71883
752a06d
74bebb6
da48b24
a002a38
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
Check warning on line 177 in deepmd/dpmodel/model/base_model.py
Codecov / codecov/patch
deepmd/dpmodel/model/base_model.py#L177
Check warning on line 181 in deepmd/dpmodel/model/base_model.py
Codecov / codecov/patch
deepmd/dpmodel/model/base_model.py#L181
Check warning on line 76 in deepmd/dpmodel/model/make_model.py
Codecov / codecov/patch
deepmd/dpmodel/model/make_model.py#L76
Check warning on line 236 in deepmd/dpmodel/utils/network.py
Codecov / codecov/patch
deepmd/dpmodel/utils/network.py#L233-L236
Check warning on line 40 in deepmd/pt/model/model/__init__.py
Codecov / codecov/patch
deepmd/pt/model/model/__init__.py#L40
Check warning on line 4 in deepmd/pt/model/model/frozen.py
Codecov / codecov/patch
deepmd/pt/model/model/frozen.py#L2-L4
Check warning on line 10 in deepmd/pt/model/model/frozen.py
Codecov / codecov/patch
deepmd/pt/model/model/frozen.py#L10
Check warning on line 12 in deepmd/pt/model/model/frozen.py
Codecov / codecov/patch
deepmd/pt/model/model/frozen.py#L12
Check warning on line 15 in deepmd/pt/model/model/frozen.py
Codecov / codecov/patch
deepmd/pt/model/model/frozen.py#L15
Check warning on line 18 in deepmd/pt/model/model/frozen.py
Codecov / codecov/patch
deepmd/pt/model/model/frozen.py#L18
Check warning on line 24 in deepmd/pt/model/model/frozen.py
Codecov / codecov/patch
deepmd/pt/model/model/frozen.py#L23-L24
Check warning on line 37 in deepmd/pt/model/model/frozen.py
Codecov / codecov/patch
deepmd/pt/model/model/frozen.py#L33-L37
Check warning on line 42 in deepmd/pt/model/model/frozen.py
Codecov / codecov/patch
deepmd/pt/model/model/frozen.py#L40-L42
Check warning on line 45 in deepmd/pt/model/model/frozen.py
Codecov / codecov/patch
deepmd/pt/model/model/frozen.py#L44-L45
Check warning on line 47 in deepmd/pt/model/model/frozen.py
Codecov / codecov/patch
deepmd/pt/model/model/frozen.py#L47
Check warning on line 50 in deepmd/pt/model/model/frozen.py
Codecov / codecov/patch
deepmd/pt/model/model/frozen.py#L49-L50
Check warning on line 52 in deepmd/pt/model/model/frozen.py
Codecov / codecov/patch
deepmd/pt/model/model/frozen.py#L52
Check warning on line 55 in deepmd/pt/model/model/frozen.py
Codecov / codecov/patch
deepmd/pt/model/model/frozen.py#L54-L55
Check warning on line 57 in deepmd/pt/model/model/frozen.py
Codecov / codecov/patch
deepmd/pt/model/model/frozen.py#L57
Check warning on line 60 in deepmd/pt/model/model/frozen.py
Codecov / codecov/patch
deepmd/pt/model/model/frozen.py#L59-L60
Check warning on line 62 in deepmd/pt/model/model/frozen.py
Codecov / codecov/patch
deepmd/pt/model/model/frozen.py#L62
Check warning on line 65 in deepmd/pt/model/model/frozen.py
Codecov / codecov/patch
deepmd/pt/model/model/frozen.py#L64-L65
Check warning on line 67 in deepmd/pt/model/model/frozen.py
Codecov / codecov/patch
deepmd/pt/model/model/frozen.py#L67
Check warning on line 70 in deepmd/pt/model/model/frozen.py
Codecov / codecov/patch
deepmd/pt/model/model/frozen.py#L69-L70
Check warning on line 72 in deepmd/pt/model/model/frozen.py
Codecov / codecov/patch
deepmd/pt/model/model/frozen.py#L72
Check warning on line 75 in deepmd/pt/model/model/frozen.py
Codecov / codecov/patch
deepmd/pt/model/model/frozen.py#L74-L75
Check warning on line 82 in deepmd/pt/model/model/frozen.py
Codecov / codecov/patch
deepmd/pt/model/model/frozen.py#L82
Check warning on line 85 in deepmd/pt/model/model/frozen.py
Codecov / codecov/patch
deepmd/pt/model/model/frozen.py#L84-L85
Check warning on line 90 in deepmd/pt/model/model/frozen.py
Codecov / codecov/patch
deepmd/pt/model/model/frozen.py#L90
Check warning on line 93 in deepmd/pt/model/model/frozen.py
Codecov / codecov/patch
deepmd/pt/model/model/frozen.py#L92-L93
Check warning on line 103 in deepmd/pt/model/model/frozen.py
Codecov / codecov/patch
deepmd/pt/model/model/frozen.py#L103
Check warning on line 106 in deepmd/pt/model/model/frozen.py
Codecov / codecov/patch
deepmd/pt/model/model/frozen.py#L105-L106
Check warning on line 115 in deepmd/pt/model/model/frozen.py
Codecov / codecov/patch
deepmd/pt/model/model/frozen.py#L115
Check warning on line 125 in deepmd/pt/model/model/frozen.py
Codecov / codecov/patch
deepmd/pt/model/model/frozen.py#L124-L125
Check warning on line 131 in deepmd/pt/model/model/frozen.py
Codecov / codecov/patch
deepmd/pt/model/model/frozen.py#L131
Check warning on line 134 in deepmd/pt/model/model/frozen.py
Codecov / codecov/patch
deepmd/pt/model/model/frozen.py#L133-L134
Check warning on line 142 in deepmd/pt/model/model/frozen.py
Codecov / codecov/patch
deepmd/pt/model/model/frozen.py#L139-L142
Check warning on line 146 in deepmd/pt/model/model/frozen.py
Codecov / codecov/patch
deepmd/pt/model/model/frozen.py#L144-L146
Check warning on line 149 in deepmd/pt/model/model/frozen.py
Codecov / codecov/patch
deepmd/pt/model/model/frozen.py#L148-L149
Check warning on line 151 in deepmd/pt/model/model/frozen.py
Codecov / codecov/patch
deepmd/pt/model/model/frozen.py#L151
Check warning on line 154 in deepmd/pt/model/model/frozen.py
Codecov / codecov/patch
deepmd/pt/model/model/frozen.py#L153-L154
Check warning on line 156 in deepmd/pt/model/model/frozen.py
Codecov / codecov/patch
deepmd/pt/model/model/frozen.py#L156
Check warning on line 159 in deepmd/pt/model/model/frozen.py
Codecov / codecov/patch
deepmd/pt/model/model/frozen.py#L158-L159
Check warning on line 169 in deepmd/pt/model/model/frozen.py
Codecov / codecov/patch
deepmd/pt/model/model/frozen.py#L169
Check warning on line 172 in deepmd/pt/model/model/frozen.py
Codecov / codecov/patch
deepmd/pt/model/model/frozen.py#L171-L172
Check warning on line 174 in deepmd/pt/model/model/frozen.py
Codecov / codecov/patch
deepmd/pt/model/model/frozen.py#L174
Check warning on line 20 in deepmd/pt/model/model/model.py
Codecov / codecov/patch
deepmd/pt/model/model/model.py#L20
Check warning on line 45 in deepmd/pt/model/model/model.py
Codecov / codecov/patch
deepmd/pt/model/model/model.py#L44-L45
Check warning on line 47 in deepmd/pt/model/model/model.py
Codecov / codecov/patch
deepmd/pt/model/model/model.py#L47
Check warning on line 216 in deepmd/tf/fit/ener.py
Codecov / codecov/patch
deepmd/tf/fit/ener.py#L216
Check warning on line 4 in deepmd/tf/model/frozen.py
Codecov / codecov/patch
deepmd/tf/model/frozen.py#L2-L4
Check warning on line 13 in deepmd/tf/model/frozen.py
Codecov / codecov/patch
deepmd/tf/model/frozen.py#L13
Check warning on line 33 in deepmd/tf/model/frozen.py
Codecov / codecov/patch
deepmd/tf/model/frozen.py#L33
Check warning on line 56 in deepmd/tf/model/frozen.py
Codecov / codecov/patch
deepmd/tf/model/frozen.py#L56
Check warning on line 58 in deepmd/tf/model/frozen.py
Codecov / codecov/patch
deepmd/tf/model/frozen.py#L58
Check warning on line 63 in deepmd/tf/model/frozen.py
Codecov / codecov/patch
deepmd/tf/model/frozen.py#L61-L63
Check warning on line 249 in deepmd/tf/model/frozen.py
Codecov / codecov/patch
deepmd/tf/model/frozen.py#L249
Check warning on line 256 in deepmd/tf/model/frozen.py
Codecov / codecov/patch
deepmd/tf/model/frozen.py#L253-L256
Check warning on line 259 in deepmd/tf/model/frozen.py
Codecov / codecov/patch
deepmd/tf/model/frozen.py#L258-L259
Check warning on line 263 in deepmd/tf/model/frozen.py
Codecov / codecov/patch
deepmd/tf/model/frozen.py#L261-L263