#include <torch/cuda.h>
#include <torch/script.h>
#include <torch/torch.h>
#include <string>
#include "gromacs/applied_forces/nnpot/nnpotmodel.h"
Declares a wrapper class for a TorchScript-compiled neural network model.
- Author
- Lukas Müllender lukas.nosp@m..mue.nosp@m.llend.nosp@m.er@g.nosp@m.mail..nosp@m.com
|
class | gmx::TorchModel |
| Class responsible for loading and evaluating a TorchScript-compiled neural network model. Inherits from NNPotModel. More...
|
|
|
static constexpr auto | gmx::torchRealType = GMX_DOUBLE ? torch::kFloat64 : torch::kFloat32 |
| Define the torch datatype according to GMX_DOUBLE. More...
|
|