Skip to content

Commit

Permalink
Add UT for consistency
Browse files Browse the repository at this point in the history
  • Loading branch information
Chengqian-Zhang committed Jun 3, 2024
1 parent c46fb27 commit 9ae4dc7
Show file tree
Hide file tree
Showing 5 changed files with 847 additions and 119 deletions.
2 changes: 1 addition & 1 deletion deepmd/dpmodel/descriptor/dpa1.py
Original file line number Diff line number Diff line change
Expand Up @@ -964,7 +964,7 @@ def serialize(self) -> dict:
obj = self.se_atten
data = {
"@class": "Descriptor",
"type": "se_attn_v2",
"type": "se_atten_v2",
"@version": 1,
"rcut": obj.rcut,
"rcut_smth": obj.rcut_smth,
Expand Down
2 changes: 0 additions & 2 deletions deepmd/tf/descriptor/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,6 @@
)
from .se_atten import (
DescrptSeAtten,
)
from .se_atten_v2 import (
DescrptSeAttenV2,
)
from .se_r import (
Expand Down
Loading

0 comments on commit 9ae4dc7

Please sign in to comment.