deepmd.utils.econf_embd#
Attributes#
Functions#
| Make the electronic configuration embedding. |
| Transform electron occupation of 0/1/2 to -1,-1/-1,1/1,1. |
Module Contents#
- deepmd.utils.econf_embd.make_econf_embedding(types: list[str], flatten: bool = True) dict[str, numpy.ndarray][source]#
Make the electronic configuration embedding.
- deepmd.utils.econf_embd.transform_to_spin_rep(res: dict[str, numpy.ndarray]) dict[str, numpy.ndarray][source]#
Transform electron occupation of 0/1/2 to -1,-1/-1,1/1,1.