add utils for DP native model format #3064
84.26% of diff hit (target 26.83%)
View this Pull Request on Codecov
84.26% of diff hit (target 26.83%)
Annotations
Check warning on line 18 in deepmd_utils/model_format.py
codecov / codecov/patch
deepmd_utils/model_format.py#L17-L18
Added lines #L17 - L18 were not covered by tests
Check warning on line 86 in deepmd_utils/model_format.py
codecov / codecov/patch
deepmd_utils/model_format.py#L86
Added line #L86 was not covered by tests
Check warning on line 160 in deepmd_utils/model_format.py
codecov / codecov/patch
deepmd_utils/model_format.py#L160
Added line #L160 was not covered by tests
Check warning on line 180 in deepmd_utils/model_format.py
codecov / codecov/patch
deepmd_utils/model_format.py#L179-L180
Added lines #L179 - L180 were not covered by tests
Check warning on line 182 in deepmd_utils/model_format.py
codecov / codecov/patch
deepmd_utils/model_format.py#L182
Added line #L182 was not covered by tests
Check warning on line 190 in deepmd_utils/model_format.py
codecov / codecov/patch
deepmd_utils/model_format.py#L189-L190
Added lines #L189 - L190 were not covered by tests
Check warning on line 192 in deepmd_utils/model_format.py
codecov / codecov/patch
deepmd_utils/model_format.py#L192
Added line #L192 was not covered by tests
Check warning on line 240 in deepmd_utils/model_format.py
codecov / codecov/patch
deepmd_utils/model_format.py#L237-L240
Added lines #L237 - L240 were not covered by tests