torchani.neurochem#
This module is part of the Legacy API of TorchANI 2 and should not be used in new code. It should only be used if you need to interface with previously trained ANI models in the NeuroChem format. It contains tools for loading files in the NeuroChem format, the original file format used in the first ANI article.
Functions
|
|
|
|
Returns a self-energy calculator, with self energies from NeuroChem sae file |
|
Returns a |
|
Loads |
|
|
|
|
|
Creates the necessary modules to generate a pre-trained ANI model |
|
Creates the necessary modules to generate a pre-trained ANI model, parsing the data from legacy neurochem files. |
|
|
- torchani.neurochem.load_sae(filename)[source]#
Returns a self-energy calculator, with self energies from NeuroChem sae file
The constructed object is of class
torchani.sae.SelfEnergy
, and can be used to calculate the self atomic energies of a group of molecules.
- torchani.neurochem.load_member(symbols, model_dir)[source]#
Returns a
torchani.nn.ANINetworks
loaded from NeuroChem’s network directory.
- torchani.neurochem.load_ensemble(symbols, prefix, count)[source]#
Loads
torchani.nn.Ensemble
from NeuroChem’s dirs with a given prefix