Skip to content
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

pt: refactor loss #3569

Merged
merged 4 commits into from
Mar 20, 2024

update docstr

cb1adaf
Select commit
Loading
Failed to load commit list.
Merged

pt: refactor loss #3569

update docstr
cb1adaf
Select commit
Loading
Failed to load commit list.
Codecov / codecov/patch succeeded Mar 20, 2024 in 1s

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

See this annotation in the file changed.

@codecov 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

See this annotation in the file changed.

@codecov 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

See this annotation in the file changed.

@codecov 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

See this annotation in the file changed.

@codecov 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

See this annotation in the file changed.

@codecov 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

See this annotation in the file changed.

@codecov 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

See this annotation in the file changed.

@codecov 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

See this annotation in the file changed.

@codecov 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

See this annotation in the file changed.

@codecov 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

See this annotation in the file changed.

@codecov 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

See this annotation in the file changed.

@codecov 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

See this annotation in the file changed.

@codecov 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

See this annotation in the file changed.

@codecov 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

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/train/wrapper.py#L176-L177

Added lines #L176 - L177 were not covered by tests