Skip to content

Update output_def.py

Codecov / codecov/patch succeeded Mar 2, 2024 in 1s

1.60% of diff hit (within 100.00% threshold of 76.59%)

View this Pull Request on Codecov

1.60% of diff hit (within 100.00% threshold of 76.59%)

Annotations

Check warning on line 105 in deepmd/dpmodel/atomic_model/base_atomic_model.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/dpmodel/atomic_model/base_atomic_model.py#L104-L105

Added lines #L104 - L105 were not covered by tests

Check warning on line 127 in deepmd/dpmodel/infer/deep_eval.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/dpmodel/infer/deep_eval.py#L126-L127

Added lines #L126 - L127 were not covered by tests

Check warning on line 129 in deepmd/dpmodel/infer/deep_eval.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/dpmodel/infer/deep_eval.py#L129

Added line #L129 was not covered by tests

Check warning on line 131 in deepmd/dpmodel/infer/deep_eval.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/dpmodel/infer/deep_eval.py#L131

Added line #L131 was not covered by tests

Check warning on line 133 in deepmd/dpmodel/infer/deep_eval.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/dpmodel/infer/deep_eval.py#L133

Added line #L133 was not covered by tests

Check warning on line 135 in deepmd/dpmodel/infer/deep_eval.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/dpmodel/infer/deep_eval.py#L135

Added line #L135 was not covered by tests

Check warning on line 88 in deepmd/dpmodel/model/make_model.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/dpmodel/model/make_model.py#L88

Added line #L88 was not covered by tests

Check warning on line 200 in deepmd/dpmodel/output_def.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/dpmodel/output_def.py#L197-L200

Added lines #L197 - L200 were not covered by tests

Check warning on line 152 in deepmd/pt/infer/deep_eval.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/infer/deep_eval.py#L151-L152

Added lines #L151 - L152 were not covered by tests

Check warning on line 154 in deepmd/pt/infer/deep_eval.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/infer/deep_eval.py#L154

Added line #L154 was not covered by tests

Check warning on line 156 in deepmd/pt/infer/deep_eval.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/infer/deep_eval.py#L156

Added line #L156 was not covered by tests

Check warning on line 158 in deepmd/pt/infer/deep_eval.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/infer/deep_eval.py#L158

Added line #L158 was not covered by tests

Check warning on line 160 in deepmd/pt/infer/deep_eval.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/infer/deep_eval.py#L160

Added line #L160 was not covered by tests

Check warning on line 162 in deepmd/pt/infer/deep_eval.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/infer/deep_eval.py#L162

Added line #L162 was not covered by tests

Check warning on line 11 in deepmd/pt/loss/__init__.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/loss/__init__.py#L11

Added line #L11 was not covered by tests

Check warning on line 2 in deepmd/pt/loss/tensor.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/loss/tensor.py#L2

Added line #L2 was not covered by tests

Check warning on line 6 in deepmd/pt/loss/tensor.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/loss/tensor.py#L6

Added line #L6 was not covered by tests

Check warning on line 8 in deepmd/pt/loss/tensor.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/loss/tensor.py#L8

Added line #L8 was not covered by tests

Check warning on line 11 in deepmd/pt/loss/tensor.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/loss/tensor.py#L11

Added line #L11 was not covered by tests

Check warning on line 14 in deepmd/pt/loss/tensor.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/loss/tensor.py#L14

Added line #L14 was not covered by tests

Check warning on line 20 in deepmd/pt/loss/tensor.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/loss/tensor.py#L19-L20

Added lines #L19 - L20 were not covered by tests

Check warning on line 55 in deepmd/pt/loss/tensor.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/loss/tensor.py#L49-L55

Added lines #L49 - L55 were not covered by tests

Check warning on line 57 in deepmd/pt/loss/tensor.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/loss/tensor.py#L57

Added line #L57 was not covered by tests

Check warning on line 62 in deepmd/pt/loss/tensor.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/loss/tensor.py#L60-L62

Added lines #L60 - L62 were 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