Skip to content

Commit

Permalink
rm unused vars
Browse files Browse the repository at this point in the history
  • Loading branch information
Han Wang committed Jan 30, 2024
1 parent 73b588d commit ce3116b
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions deepmd/pt/model/task/ener.py
Original file line number Diff line number Diff line change
Expand Up @@ -272,8 +272,6 @@ def forward(
"""
xx = descriptor
nf, nloc, nd = xx.shape
dtype = descriptor.dtype
device = env.DEVICE
# NOTICE in tests/pt/test_model.py
# it happens that the user directly access the data memeber self.bias_atom_e
# and set it to a wrong shape!
Expand Down

0 comments on commit ce3116b

Please sign in to comment.