Skip to content

feat(pt): support complete form energy loss

Codecov / codecov/patch succeeded May 15, 2024 in 0s

90.67% of diff hit (target 82.49%)

View this Pull Request on Codecov

90.67% of diff hit (target 82.49%)

Annotations

Check warning on line 117 in deepmd/pt/loss/ener.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/loss/ener.py#L117

Added line #L117 was not covered by tests

Check warning on line 207 in deepmd/pt/loss/ener.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/loss/ener.py#L207

Added line #L207 was not covered by tests

Check warning on line 209 in deepmd/pt/loss/ener.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/loss/ener.py#L209

Added line #L209 was not covered by tests

Check warning on line 245 in deepmd/pt/loss/ener.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/loss/ener.py#L245

Added line #L245 was not covered by tests

Check warning on line 250 in deepmd/pt/loss/ener.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/loss/ener.py#L250

Added line #L250 was not covered by tests

Check warning on line 253 in deepmd/pt/loss/ener.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/loss/ener.py#L252-L253

Added lines #L252 - L253 were not covered by tests

Check warning on line 394 in deepmd/pt/loss/ener.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/loss/ener.py#L394

Added line #L394 was not covered by tests

Check warning on line 404 in deepmd/pt/loss/ener.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/loss/ener.py#L404

Added line #L404 was not covered by tests

Check warning on line 181 in deepmd/pt/loss/ener_spin.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/loss/ener_spin.py#L181

Added line #L181 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