Skip to content

Commit a55118d

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent ca142a3 commit a55118d

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

deepmd/pt/model/descriptor/repflow_layer.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -370,9 +370,9 @@ def _cal_hg_dynamic(
370370
# n_edge x e_dim
371371
flat_edge_ebd = flat_edge_ebd * flat_sw.unsqueeze(-1)
372372
# n_edge x 3 x e_dim
373-
flat_h2g2 = (
374-
flat_h2.unsqueeze(-1) * flat_edge_ebd.unsqueeze(-2)
375-
).reshape(-1, 3 * e_dim)
373+
flat_h2g2 = (flat_h2.unsqueeze(-1) * flat_edge_ebd.unsqueeze(-2)).reshape(
374+
-1, 3 * e_dim
375+
)
376376
# nf x nloc x 3 x e_dim
377377
h2g2 = (
378378
aggregate(flat_h2g2, owner, average=False, num_owner=num_owner).reshape(

0 commit comments

Comments
 (0)