Skip to content

Commit

Permalink
Update deepmd/pt/model/model/__init__.py
Browse files Browse the repository at this point in the history
Signed-off-by: Jinzhe Zeng <jinzhe.zeng@rutgers.edu>
  • Loading branch information
njzjz committed Sep 10, 2024
1 parent bcc3b75 commit f2885d5
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion deepmd/pt/model/model/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,6 @@ def get_zbl_model(model_params):


def _convert_preset_out_bias_to_torch_tensor(preset_out_bias, type_map):
if preset_out_bias is not None:
if preset_out_bias is not None:
for kk in preset_out_bias:
if len(preset_out_bias[kk]) != len(type_map):
Expand Down

0 comments on commit f2885d5

Please sign in to comment.