Skip to content

it seems we can directly use `tf.make_ndarray`

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

36.66% of diff hit (within 100.00% threshold of 77.70%)

View this Pull Request on Codecov

36.66% of diff hit (within 100.00% threshold of 77.70%)

Annotations

Check warning on line 7 in deepmd/pt/utils/env.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/utils/env.py#L7

Added line #L7 was not covered by tests

Check warning on line 53 in deepmd/pt/utils/env.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/utils/env.py#L53

Added line #L53 was not covered by tests

Check warning on line 63 in deepmd/pt/utils/env.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/utils/env.py#L63

Added line #L63 was not covered by tests

Check warning on line 8 in deepmd/pt/utils/utils.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/utils/utils.py#L8

Added line #L8 was not covered by tests

Check warning on line 89 in deepmd/pt/utils/utils.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/utils/utils.py#L89

Added line #L89 was not covered by tests

Check warning on line 91 in deepmd/pt/utils/utils.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/utils/utils.py#L91

Added line #L91 was not covered by tests

Check warning on line 116 in deepmd/pt/utils/utils.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/utils/utils.py#L116

Added line #L116 was not covered by tests

Check warning on line 118 in deepmd/pt/utils/utils.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/pt/utils/utils.py#L118

Added line #L118 was not covered by tests

Check warning on line 197 in deepmd/tf/utils/graph.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/tf/utils/graph.py#L197

Added line #L197 was not covered by tests

Check warning on line 236 in deepmd/tf/utils/graph.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/tf/utils/graph.py#L236

Added line #L236 was not covered by tests

Check warning on line 363 in deepmd/tf/utils/graph.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/tf/utils/graph.py#L363

Added line #L363 was not covered by tests

Check warning on line 437 in deepmd/tf/utils/graph.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/tf/utils/graph.py#L437

Added line #L437 was not covered by tests

Check warning on line 494 in deepmd/tf/utils/graph.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/tf/utils/graph.py#L494

Added line #L494 was not covered by tests

Check warning on line 514 in deepmd/tf/utils/graph.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/tf/utils/graph.py#L512-L514

Added lines #L512 - L514 were not covered by tests

Check warning on line 17 in deepmd/utils/argcheck.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/utils/argcheck.py#L17

Added line #L17 was not covered by tests

Check warning on line 32 in deepmd/utils/argcheck.py

See this annotation in the file changed.

@codecov codecov / codecov/patch

deepmd/utils/argcheck.py#L31-L32

Added lines #L31 - L32 were not covered by tests