We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c42ffe5 commit bffe486Copy full SHA for bffe486
1 file changed
deepmd/pt/model/descriptor/se_atten.py
@@ -285,7 +285,7 @@ def __init__(
285
[nn.Parameter(torch.zeros(0, dtype=self.prec, device=env.DEVICE))]
286
)
287
# For type embedding compression
288
- self.type_embd_data = None
+ self.type_embd_data: Optional[torch.Tensor] = None
289
290
def get_rcut(self) -> float:
291
"""Returns the cut-off radius."""
0 commit comments