xnn.gnn.models.aimnet2_foundation.load_artifact#
- xnn.gnn.models.aimnet2_foundation.load_artifact(source, member=0)[source]#
Read an AIMNet2 artifact into one mapping.
- Parameters:
- Returns:
state_dict(CPU tensors),model_yamland the metadata keys of the reference format (cutoff,implemented_species,coulomb_mode,d3_params, …).- Return type:
- Raises:
FileNotFoundError – If the file, directory or ensemble member does not exist.
ValueError – If the file is not an AIMNet2 artifact.