Skip to content

Commit

Permalink
Update deepmd/dpmodel/descriptor/se_atten_v2.py
Browse files Browse the repository at this point in the history
Co-authored-by: Duo <[email protected]>
Signed-off-by: Chenqqian Zhang <[email protected]>
  • Loading branch information
Chengqian-Zhang and iProzd authored Jun 4, 2024
1 parent 8ee1125 commit b0380f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deepmd/dpmodel/descriptor/se_atten_v2.py
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ def serialize(self) -> dict:
return data

@classmethod
def deserialize(cls, data: dict) -> "DescrptDPA1":
def deserialize(cls, data: dict) -> "DescrptSeAttenV2":
"""Deserialize from dict."""
data = data.copy()
check_version_compatibility(data.pop("@version"), 1, 1)
Expand Down

0 comments on commit b0380f9

Please sign in to comment.