xnn.common.models.hub.checkpoint.file_references#

xnn.common.models.hub.checkpoint.file_references(config)[source]#

Config values of the model section that name existing files.

A config that points at a file (a ReaxFF ffield path, an OPLS or DREIDING topology JSON) loads only where that file exists, which breaks the portability of a model directory.

Parameters:

config (Config or ModelConfig) – The configuration.

Returns:

"<key>=<value>" for each such value.

Return type:

list of str