pt: refactor data stat #3285
pt: refactor data stat #3285
76.19% of diff hit (target 75.06%)
View this Pull Request on Codecov
76.19% of diff hit (target 75.06%)
Annotations
Check warning on line 315 in deepmd/common.py
codecov / codecov/patch
deepmd/common.py#L315
Added line #L315 was not covered by tests
Check warning on line 137 in deepmd/pt/entrypoints/main.py
codecov / codecov/patch
deepmd/pt/entrypoints/main.py#L136-L137
Added lines #L136 - L137 were not covered by tests
Check warning on line 143 in deepmd/pt/entrypoints/main.py
codecov / codecov/patch
deepmd/pt/entrypoints/main.py#L140-L143
Added lines #L140 - L143 were not covered by tests
Check warning on line 185 in deepmd/pt/model/atomic_model/dp_atomic_model.py
codecov / codecov/patch
deepmd/pt/model/atomic_model/dp_atomic_model.py#L185
Added line #L185 was not covered by tests
Check warning on line 189 in deepmd/pt/model/atomic_model/dp_atomic_model.py
codecov / codecov/patch
deepmd/pt/model/atomic_model/dp_atomic_model.py#L189
Added line #L189 was not covered by tests
Check warning on line 207 in deepmd/pt/model/descriptor/descriptor.py
codecov / codecov/patch
deepmd/pt/model/descriptor/descriptor.py#L200-L207
Added lines #L200 - L207 were not covered by tests
Check warning on line 166 in deepmd/pt/model/descriptor/hybrid.py
codecov / codecov/patch
deepmd/pt/model/descriptor/hybrid.py#L166
Added line #L166 was not covered by tests
Check warning on line 278 in deepmd/pt/model/descriptor/repformers.py
codecov / codecov/patch
deepmd/pt/model/descriptor/repformers.py#L278
Added line #L278 was not covered by tests
Check warning on line 289 in deepmd/pt/model/descriptor/repformers.py
codecov / codecov/patch
deepmd/pt/model/descriptor/repformers.py#L288-L289
Added lines #L288 - L289 were not covered by tests
Check warning on line 292 in deepmd/pt/model/descriptor/repformers.py
codecov / codecov/patch
deepmd/pt/model/descriptor/repformers.py#L292
Added line #L292 was not covered by tests
Check warning on line 386 in deepmd/pt/model/descriptor/se_a.py
codecov / codecov/patch
deepmd/pt/model/descriptor/se_a.py#L386
Added line #L386 was not covered by tests
Check warning on line 400 in deepmd/pt/model/descriptor/se_a.py
codecov / codecov/patch
deepmd/pt/model/descriptor/se_a.py#L399-L400
Added lines #L399 - L400 were not covered by tests
Check warning on line 403 in deepmd/pt/model/descriptor/se_a.py
codecov / codecov/patch
deepmd/pt/model/descriptor/se_a.py#L403
Added line #L403 was not covered by tests
Check warning on line 199 in deepmd/pt/model/descriptor/se_atten.py
codecov / codecov/patch
deepmd/pt/model/descriptor/se_atten.py#L199
Added line #L199 was not covered by tests
Check warning on line 210 in deepmd/pt/model/descriptor/se_atten.py
codecov / codecov/patch
deepmd/pt/model/descriptor/se_atten.py#L209-L210
Added lines #L209 - L210 were not covered by tests
Check warning on line 213 in deepmd/pt/model/descriptor/se_atten.py
codecov / codecov/patch
deepmd/pt/model/descriptor/se_atten.py#L213
Added line #L213 was not covered by tests
Check warning on line 166 in deepmd/pt/model/task/ener.py
codecov / codecov/patch
deepmd/pt/model/task/ener.py#L166
Added line #L166 was not covered by tests
Check warning on line 168 in deepmd/pt/model/task/ener.py
codecov / codecov/patch
deepmd/pt/model/task/ener.py#L168
Added line #L168 was not covered by tests
Check warning on line 172 in deepmd/pt/model/task/ener.py
codecov / codecov/patch
deepmd/pt/model/task/ener.py#L172
Added line #L172 was not covered by tests
Check warning on line 30 in deepmd/pt/utils/env_mat_stat.py
codecov / codecov/patch
deepmd/pt/utils/env_mat_stat.py#L30
Added line #L30 was not covered by tests
Check warning on line 172 in deepmd/pt/utils/env_mat_stat.py
codecov / codecov/patch
deepmd/pt/utils/env_mat_stat.py#L172
Added line #L172 was not covered by tests
Check warning on line 87 in deepmd/utils/env_mat_stat.py
codecov / codecov/patch
deepmd/utils/env_mat_stat.py#L87
Added line #L87 was not covered by tests
Check warning on line 107 in deepmd/utils/env_mat_stat.py
codecov / codecov/patch
deepmd/utils/env_mat_stat.py#L107
Added line #L107 was not covered by tests
Check warning on line 139 in deepmd/utils/env_mat_stat.py
codecov / codecov/patch
deepmd/utils/env_mat_stat.py#L135-L139
Added lines #L135 - L139 were not covered by tests
Check warning on line 153 in deepmd/utils/env_mat_stat.py
codecov / codecov/patch
deepmd/utils/env_mat_stat.py#L149-L153
Added lines #L149 - L153 were not covered by tests