deepmd.pt.utils.env_mat_stat
Module Contents
Classes
A base class to store and calculate the statistics of the environment matrix. | |
Environmental matrix statistics for the se_a/se_r environemntal matrix. |
- class deepmd.pt.utils.env_mat_stat.EnvMatStat[source]
Bases:
deepmd.utils.env_mat_stat.EnvMatStat
A base class to store and calculate the statistics of the environment matrix.
- class deepmd.pt.utils.env_mat_stat.EnvMatStatSe(descriptor: deepmd.pt.model.descriptor.DescriptorBlock)[source]
Bases:
EnvMatStat
Environmental matrix statistics for the se_a/se_r environemntal matrix.
- Parameters:
- descriptor
DescriptorBlock
The descriptor of the model.
- descriptor
- iter(data: List[Dict[str, torch.Tensor | List[Tuple[int, int]]]]) Iterator[Dict[str, deepmd.utils.env_mat_stat.StatItem]] [source]
Get the iterator of the environment matrix.