API reference#

Note

This is the documentation for the atomistic capabilities of metatensor-torch version 0.2.1. For other versions, look in the following pages:

Version 0.2.0

The atomistic machine learning models capabilities of metatensor are part of the TorchScript API, and are installed when installing the TorchScript API.

These capabilities can be used from either Python or C++. The Python API is documented below, and is part of the metatensor.torch.atomistic module.

C++ API reference#

The C++ API can be accessed by including <metatensor/torch/atomistic.hpp>.