Skip to content

Commit

Permalink
Update deepmd/pt/model/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 6f2473f commit ef94c04
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion deepmd/pt/model/descriptor/se_atten_v2.py
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ def serialize(self) -> dict:
return data

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

0 comments on commit ef94c04

Please sign in to comment.