Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Apr 1, 2024
1 parent db0373e commit df1f4fb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion deepmd/tf/descriptor/se_atten.py
Original file line number Diff line number Diff line change
Expand Up @@ -686,7 +686,9 @@ def _pass_filter(
tf.cast(mask, tf.bool),
inputs_i,
# (nframes * nloc, 1) -> (nframes * nloc, ndescrpt)
tf.tile(tf.reshape(self.avg_looked_up, [-1, 1]), [1, self.ndescrpt]),
tf.tile(
tf.reshape(self.avg_looked_up, [-1, 1]), [1, self.ndescrpt]
),
)
else:
inputs_i *= mask

Check warning on line 694 in deepmd/tf/descriptor/se_atten.py

View check run for this annotation

Codecov / codecov/patch

deepmd/tf/descriptor/se_atten.py#L694

Added line #L694 was not covered by tests
Expand Down

0 comments on commit df1f4fb

Please sign in to comment.