deepmd.backend.pytorch
Classes
PyTorch backend. |
Module Contents
- class deepmd.backend.pytorch.PyTorchBackend[source]
Bases:
deepmd.backend.backend.BackendPyTorch backend.
- features: ClassVar[deepmd.backend.backend.Backend.Feature][source]
The features of the backend.
- is_available() bool[source]
Check if the backend is available.
- Returns:
- bool
Whether the backend is available.
- property entry_point_hook: Callable[[argparse.Namespace], None][source]
The entry point hook of the backend.
- property deep_eval: Type[deepmd.infer.deep_eval.DeepEvalBackend][source]
The Deep Eval backend of the backend.
- Returns:
type[DeepEvalBackend]The Deep Eval backend of the backend.
- property neighbor_stat: Type[deepmd.pt.utils.neighbor_stat.NeighborStat][source]
The neighbor statistics of the backend.
- Returns:
type[NeighborStat]The neighbor statistics of the backend.