deepmd.entrypoints.main
Common entrypoints.
Module Contents
Functions
| DeePMD-Kit entry point. |
- deepmd.entrypoints.main.main(args: argparse.Namespace)[source]
DeePMD-Kit entry point.
- Parameters:
- args
List
[str
]or
argparse.Namespace
,optional
list of command line arguments, used to avoid calling from the subprocess, as it is quite slow to import tensorflow; if Namespace is given, it will be used directly
- args
- Raises:
RuntimeError
if no command was input