Skip to content

Commit

Permalink
[pre-commit.ci] auto fixes from pre-commit.com hooks
Browse files Browse the repository at this point in the history
for more information, see https://pre-commit.ci
  • Loading branch information
pre-commit-ci[bot] committed Jun 4, 2024
1 parent 45f9755 commit d2fd8a2
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions deepmd/dpmodel/descriptor/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@
from .dpa1 import (
DescrptDPA1,
)
from .se_atten_v2 import (
DescrptSeAttenV2,
)
from .dpa2 import (
DescrptDPA2,
)
Expand All @@ -14,6 +11,9 @@
from .make_base_descriptor import (
make_base_descriptor,
)
from .se_atten_v2 import (
DescrptSeAttenV2,
)
from .se_e2_a import (
DescrptSeA,
)
Expand Down
4 changes: 2 additions & 2 deletions deepmd/dpmodel/descriptor/se_atten_v2.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
List,
Optional,
Tuple,
Union,
Union,
)

import numpy as np
Expand Down Expand Up @@ -177,4 +177,4 @@ def deserialize(cls, data: dict) -> "DescrptDPA1":
obj.se_atten.dpa1_attention = NeighborGatedAttention.deserialize(
attention_layers
)
return obj
return obj

0 comments on commit d2fd8a2

Please sign in to comment.