Skip to content

Commit

Permalink
reshape
Browse files Browse the repository at this point in the history
  • Loading branch information
njzjz authored Nov 21, 2024
1 parent b1ae8bc commit 47a160f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deepmd/dpmodel/descriptor/se_t_tebd.py
Original file line number Diff line number Diff line change
Expand Up @@ -775,7 +775,7 @@ def call(
gg_t = xp_take_along_axis(tt_full, idx, axis=0)

# (nfnl x nt_i x nt_j) x ng
gg_t = gg_t.reshape(nf * nloc, nnei, nnei, ng)
gg_t = xp.reshape(gg_t, (nf * nloc, nnei, nnei, ng))
if self.smooth:
gg_t = (
gg_t
Expand Down

0 comments on commit 47a160f

Please sign in to comment.