Skip to content

Commit

Permalink
Update make_hessian_model.py
Browse files Browse the repository at this point in the history
Signed-off-by: Anchor Yu <91590308+1azyking@users.noreply.github.com>
  • Loading branch information
1azyking authored Dec 6, 2024
1 parent c699e08 commit d1361ca
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions deepmd/pt/model/model/make_hessian_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,8 +115,8 @@ def forward_common(

def _cal_hessian_all(
self,
coord,
atype,
coord: torch.Tensor,
atype: torch.Tensor,
box: Optional[torch.Tensor] = None,
fparam: Optional[torch.Tensor] = None,
aparam: Optional[torch.Tensor] = None,
Expand Down Expand Up @@ -184,7 +184,7 @@ def __init__(
self,
obj: CM,
ci: int,
atype,
atype: torch.Tensor,
box: Optional[torch.Tensor],
fparam: Optional[torch.Tensor],
aparam: Optional[torch.Tensor],
Expand Down

0 comments on commit d1361ca

Please sign in to comment.