deepmd.entrypoints.main

deepmd.entrypoints.main#

Common entrypoints.

Functions#

main(→ None)

DeePMD-Kit entry point.

Module Contents#

deepmd.entrypoints.main.main(args: argparse.Namespace) None[source]#

DeePMD-Kit entry point.

Parameters:
argslist[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

Raises:
RuntimeError

if no command was input