feat(pt): consistent "frozen" model #3450
1.88% of diff hit (within 100.00% threshold of 77.29%)
View this Pull Request on Codecov
1.88% of diff hit (within 100.00% threshold of 77.29%)
Annotations
Check warning on line 177 in deepmd/dpmodel/model/base_model.py
codecov / codecov/patch
deepmd/dpmodel/model/base_model.py#L177
Added line #L177 was not covered by tests
Check warning on line 181 in deepmd/dpmodel/model/base_model.py
codecov / codecov/patch
deepmd/dpmodel/model/base_model.py#L181
Added line #L181 was not covered by tests
Check warning on line 76 in deepmd/dpmodel/model/make_model.py
codecov / codecov/patch
deepmd/dpmodel/model/make_model.py#L76
Added line #L76 was not covered by tests
Check warning on line 236 in deepmd/dpmodel/utils/network.py
codecov / codecov/patch
deepmd/dpmodel/utils/network.py#L233-L236
Added lines #L233 - L236 were not covered by tests
Check warning on line 40 in deepmd/pt/model/model/__init__.py
codecov / codecov/patch
deepmd/pt/model/model/__init__.py#L40
Added line #L40 was not covered by tests
Check warning on line 4 in deepmd/pt/model/model/frozen.py
codecov / codecov/patch
deepmd/pt/model/model/frozen.py#L2-L4
Added lines #L2 - L4 were not covered by tests
Check warning on line 10 in deepmd/pt/model/model/frozen.py
codecov / codecov/patch
deepmd/pt/model/model/frozen.py#L10
Added line #L10 was not covered by tests
Check warning on line 12 in deepmd/pt/model/model/frozen.py
codecov / codecov/patch
deepmd/pt/model/model/frozen.py#L12
Added line #L12 was not covered by tests
Check warning on line 15 in deepmd/pt/model/model/frozen.py
codecov / codecov/patch
deepmd/pt/model/model/frozen.py#L15
Added line #L15 was not covered by tests
Check warning on line 18 in deepmd/pt/model/model/frozen.py
codecov / codecov/patch
deepmd/pt/model/model/frozen.py#L18
Added line #L18 was not covered by tests
Check warning on line 24 in deepmd/pt/model/model/frozen.py
codecov / codecov/patch
deepmd/pt/model/model/frozen.py#L23-L24
Added lines #L23 - L24 were not covered by tests
Check warning on line 37 in deepmd/pt/model/model/frozen.py
codecov / codecov/patch
deepmd/pt/model/model/frozen.py#L33-L37
Added lines #L33 - L37 were not covered by tests
Check warning on line 42 in deepmd/pt/model/model/frozen.py
codecov / codecov/patch
deepmd/pt/model/model/frozen.py#L40-L42
Added lines #L40 - L42 were not covered by tests
Check warning on line 45 in deepmd/pt/model/model/frozen.py
codecov / codecov/patch
deepmd/pt/model/model/frozen.py#L44-L45
Added lines #L44 - L45 were not covered by tests
Check warning on line 47 in deepmd/pt/model/model/frozen.py
codecov / codecov/patch
deepmd/pt/model/model/frozen.py#L47
Added line #L47 was not covered by tests
Check warning on line 50 in deepmd/pt/model/model/frozen.py
codecov / codecov/patch
deepmd/pt/model/model/frozen.py#L49-L50
Added lines #L49 - L50 were not covered by tests
Check warning on line 52 in deepmd/pt/model/model/frozen.py
codecov / codecov/patch
deepmd/pt/model/model/frozen.py#L52
Added line #L52 was not covered by tests
Check warning on line 55 in deepmd/pt/model/model/frozen.py
codecov / codecov/patch
deepmd/pt/model/model/frozen.py#L54-L55
Added lines #L54 - L55 were not covered by tests
Check warning on line 57 in deepmd/pt/model/model/frozen.py
codecov / codecov/patch
deepmd/pt/model/model/frozen.py#L57
Added line #L57 was not covered by tests
Check warning on line 60 in deepmd/pt/model/model/frozen.py
codecov / codecov/patch
deepmd/pt/model/model/frozen.py#L59-L60
Added lines #L59 - L60 were not covered by tests
Check warning on line 62 in deepmd/pt/model/model/frozen.py
codecov / codecov/patch
deepmd/pt/model/model/frozen.py#L62
Added line #L62 was not covered by tests
Check warning on line 65 in deepmd/pt/model/model/frozen.py
codecov / codecov/patch
deepmd/pt/model/model/frozen.py#L64-L65
Added lines #L64 - L65 were not covered by tests
Check warning on line 67 in deepmd/pt/model/model/frozen.py
codecov / codecov/patch
deepmd/pt/model/model/frozen.py#L67
Added line #L67 was not covered by tests
Check warning on line 70 in deepmd/pt/model/model/frozen.py
codecov / codecov/patch
deepmd/pt/model/model/frozen.py#L69-L70
Added lines #L69 - L70 were not covered by tests
Check warning on line 72 in deepmd/pt/model/model/frozen.py
codecov / codecov/patch
deepmd/pt/model/model/frozen.py#L72
Added line #L72 was not covered by tests