nndeploy.dag.graph_runner

Classes

GraphRunner()

Exceptions

NnDeployGraphRuntimeError(status, msg)

exception nndeploy.dag.graph_runner.NnDeployGraphRuntimeError(status, msg)[源代码]

基类:RuntimeError

__init__(status, msg)[源代码]
add_note()

Exception.add_note(note) – add a note to the exception

args
with_traceback()

Exception.with_traceback(tb) – set self.__traceback__ to tb and return self.

class nndeploy.dag.graph_runner.GraphRunner[源代码]

基类:object

__init__()[源代码]
cancel_running()[源代码]
get_run_status()[源代码]
release()[源代码]
get_loop_count()[源代码]
get_parallel_type()[源代码]
run(graph_json_str: str, name: str, task_id: str, args: GraphRunnerArgs = None) Tuple[Dict[str, Any], List[Any]][源代码]