Skip to content

Commit

Permalink
fix interface of abs class base Descriptor
Browse files Browse the repository at this point in the history
  • Loading branch information
Han Wang committed Jan 10, 2024
1 parent 5665092 commit ab36dba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deepmd_pt/model/descriptor/descriptor.py
Original file line number Diff line number Diff line change
Expand Up @@ -84,9 +84,9 @@ def init_desc_stat(self, sumr, suma, sumn, sumr2, suma2):
@abstractmethod
def forward(
self,
nlist,
extended_coord,
extended_atype,
nlist,
mapping: Optional[torch.Tensor] = None,
):
"""Calculate descriptor.
Expand Down

0 comments on commit ab36dba

Please sign in to comment.