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 Mar 18, 2024
1 parent 5cd0d56 commit 4965529
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions deepmd/pt/model/task/denoise.py
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,7 @@ def forward(
) # Shape is [nframes, natoms[0], net_dim_out]
outs_logits = outs_logits + atom_logits

Check warning on line 475 in deepmd/pt/model/task/denoise.py

View check run for this annotation

Codecov / codecov/patch

deepmd/pt/model/task/denoise.py#L475

Added line #L475 was not covered by tests
# TODO:
'''
"""

Check warning on line 477 in deepmd/pt/model/task/denoise.py

View check run for this annotation

Codecov / codecov/patch

deepmd/pt/model/task/denoise.py#L477

Added line #L477 was not covered by tests
else:
for type_i, ll in enumerate(self.filter_layers_coord.networks):
mask = (atype == type_i).unsqueeze(-1)
Expand All @@ -493,7 +493,7 @@ def forward(
outs = (
outs + atom_property
) # Shape is [nframes, natoms[0], net_dim_out]
'''
"""
# nf x nloc
mask = self.emask(atype)

Check warning on line 498 in deepmd/pt/model/task/denoise.py

View check run for this annotation

Codecov / codecov/patch

deepmd/pt/model/task/denoise.py#L498

Added line #L498 was not covered by tests
# nf x nloc x nod
Expand Down

0 comments on commit 4965529

Please sign in to comment.