deepmd.pt.model.model.dp_model#
Classes#
A base class to implement common methods for all the Models. |
Module Contents#
- class deepmd.pt.model.model.dp_model.DPModelCommon[source]#
A base class to implement common methods for all the Models.
- classmethod update_sel(train_data: deepmd.utils.data_system.DeepmdDataSystem, type_map: list[str] | None, local_jdata: dict) tuple[dict, float | None][source]#
Update the selection and perform neighbor statistics.
- set_eval_descriptor_hook(enable: bool) None[source]#
Set the hook for evaluating descriptor and clear the cache for descriptor list.