API Reference#

Generated from the docstrings in src/xnn. Start from the subpackage matching what you need:

  • xnn.common: data pipeline and hub, featurizer base, configuration, model registry, hub and add-ons (LES, D3, D4), fine-tuning, training, benchmarking, deployment, CLI

  • xnn.gnn: SchNet, DimeNet, DimeNet++, GemNet, PaiNN, TensorNet, QET, MEGNet, CGCNN, NequIP, MACE, Allegro, CACE, AIMNet2, their featurizers and fast paths (NequIP, MACE and Allegro need e3nn)

  • xnn.cnn: the SE(3) steerable CNN and the conventional 3D CNN over voxelized environments, the spherical CNN over spherical signals, their featurizers and fast paths

  • xnn.dnn: HDNNP (generations 1 to 4), ANI, PhysNet, QRNN, the symmetry-function / AEV featurizers and the RuNNer model files

  • xnn.ffnn: ReaxFF, OPLS, DREIDING, AMBER, CHARMM, AMOEBA, HIPPO, GFN-FF and the .frc force-field reader

  • xnn.trfnn: ET (the TorchMD-Net equivariant transformer), Equiformer, EquiformerV2 and the edge attention primitive

  • xnn.hybnn: BAMBOO, SpookyNet, ByteFF, ByteFF-Pol

  • xnn.krnn: GDML and sGDML, their fit, symmetry search and model files

xnn.common

Shared abstractions used across all model families (cnn / dnn / gnn).

xnn.gnn

Graph-network family: SchNet, DimeNet, DimeNet++, GemNet, PaiNN, TensorNet, and NequIP / MACE / Allegro / CACE / AIMNet2 (these need e3nn).

xnn.cnn

Convolutional family: 3D CNNs over voxelized atomic environments (the conventional CNN3D and the SE(3)-equivariant 3D steerable CNN of Weiler et al., NeurIPS 2018) and the spherical CNN of Cohen et al. (ICLR 2018) over spherical signals of the environments.

xnn.dnn

Dense neural networks (dnn): HDNNP (generations 1-4), ANI, PhysNet and QRNN.

xnn.ffnn

ffnn: learnable classical force fields.

xnn.trfnn

Transformer family (trfnn): graph-transformer potentials and their shared attention primitive.

xnn.hybnn

Hybrid GNN + transformer interatomic potentials.

xnn.krnn

Kernel-regression potentials (krnn).