xnn.krnn.common.sgdml_io.load_sgdml_model#

xnn.krnn.common.sgdml_io.load_sgdml_model(path, cutoff=1.0)[source]#

Load a trained (s)GDML model from an sGDML model file.

Parameters:
  • path (str or os.PathLike) – The .npz model file.

  • cutoff (float, optional) – Neighbour-list radius of the data pipeline, by default 1.0.

Returns:

The model in float64, in eval mode.

Return type:

SGDML