Skip to content

move torch.eq out of loop

Codecov / codecov/patch succeeded Feb 18, 2024 in 0s

0.00% of diff hit (within 100.00% threshold of 74.93%)

View this Pull Request on Codecov

0.00% of diff hit (within 100.00% threshold of 74.93%)

Annotations

Check warning on line 136 in deepmd/pt/utils/env_mat_stat.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/utils/env_mat_stat.py#L136

Added line #L136 was not covered by tests

Check warning on line 139 in deepmd/pt/utils/env_mat_stat.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/utils/env_mat_stat.py#L139

Added line #L139 was not covered by tests

Check warning on line 151 in deepmd/pt/utils/env_mat_stat.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/utils/env_mat_stat.py#L145-L151

Added lines #L145 - L151 were not covered by tests