pt: refactor loss #3569
pt: refactor loss #3569
0.00% of diff hit (within 100.00% threshold of 77.49%)
View this Pull Request on Codecov
0.00% of diff hit (within 100.00% threshold of 77.49%)
Annotations
Check warning on line 93 in deepmd/pt/loss/ener.py
codecov / codecov/patch
deepmd/pt/loss/ener.py#L93
Added line #L93 was not covered by tests
Check warning on line 116 in deepmd/pt/loss/ener.py
codecov / codecov/patch
deepmd/pt/loss/ener.py#L116
Added line #L116 was not covered by tests
Check warning on line 213 in deepmd/pt/loss/ener.py
codecov / codecov/patch
deepmd/pt/loss/ener.py#L213
Added line #L213 was not covered by tests
Check warning on line 66 in deepmd/pt/loss/ener_spin.py
codecov / codecov/patch
deepmd/pt/loss/ener_spin.py#L66
Added line #L66 was not covered by tests
Check warning on line 89 in deepmd/pt/loss/ener_spin.py
codecov / codecov/patch
deepmd/pt/loss/ener_spin.py#L89
Added line #L89 was not covered by tests
Check warning on line 183 in deepmd/pt/loss/ener_spin.py
codecov / codecov/patch
deepmd/pt/loss/ener_spin.py#L183
Added line #L183 was not covered by tests
Check warning on line 22 in deepmd/pt/loss/loss.py
codecov / codecov/patch
deepmd/pt/loss/loss.py#L22
Added line #L22 was not covered by tests
Check warning on line 66 in deepmd/pt/loss/tensor.py
codecov / codecov/patch
deepmd/pt/loss/tensor.py#L66
Added line #L66 was not covered by tests
Check warning on line 89 in deepmd/pt/loss/tensor.py
codecov / codecov/patch
deepmd/pt/loss/tensor.py#L89
Added line #L89 was not covered by tests
Check warning on line 141 in deepmd/pt/loss/tensor.py
codecov / codecov/patch
deepmd/pt/loss/tensor.py#L141
Added line #L141 was not covered by tests
Check warning on line 701 in deepmd/pt/train/training.py
codecov / codecov/patch
deepmd/pt/train/training.py#L700-L701
Added lines #L700 - L701 were not covered by tests
Check warning on line 703 in deepmd/pt/train/training.py
codecov / codecov/patch
deepmd/pt/train/training.py#L703
Added line #L703 was not covered by tests
Check warning on line 174 in deepmd/pt/train/wrapper.py
codecov / codecov/patch
deepmd/pt/train/wrapper.py#L172-L174
Added lines #L172 - L174 were not covered by tests
Check warning on line 177 in deepmd/pt/train/wrapper.py
codecov / codecov/patch
deepmd/pt/train/wrapper.py#L176-L177
Added lines #L176 - L177 were not covered by tests