Skip to content

Commit 23eb6dd

Browse files
author
Han Wang
committed
refactor(dpmodel): remove unused get_numb_attn_layer API
The compile guard that used this method was removed in 6d39ddf.
1 parent 6d39ddf commit 23eb6dd

1 file changed

Lines changed: 0 additions & 4 deletions

File tree

deepmd/dpmodel/descriptor/dpa1.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -381,10 +381,6 @@ def get_dim_out(self) -> int:
381381
def get_dim_emb(self) -> int:
382382
return self.se_atten.dim_emb
383383

384-
def get_numb_attn_layer(self) -> int:
385-
"""Returns the number of se_atten attention layers."""
386-
return self.se_atten.attn_layer
387-
388384
def mixed_types(self) -> bool:
389385
"""If true, the descriptor
390386
1. assumes total number of atoms aligned across frames;

0 commit comments

Comments
 (0)