ONE - On-device Neural Engine
|
Public Member Functions | |
__init__ (self, path) | |
run (self, working_dir, verbose=False) | |
Data Fields | |
json_contents | |
adj | |
workflow_sequence | |
Static Public Attributes | |
str | WORKFLOWS_K = 'workflows' |
str | DEPENDENCIES_K = 'run-after' |
str | CFG_REFERENCE_K = 'cfg-reference' |
str | WORKFLOW_STEPS_K = 'steps' |
str | ONE_CMD_TOOL_K = 'one-cmd' |
str | COMMANDS_K = 'commands' |
Protected Member Functions | |
_check_cycle (self) | |
_verify_workflow (self, json_contents) | |
Definition at line 26 of file WorkflowRunner.py.
WorkflowRunner.WorkflowRunner.__init__ | ( | self, | |
path | |||
) |
Definition at line 34 of file WorkflowRunner.py.
|
protected |
Definition at line 59 of file WorkflowRunner.py.
References WorkflowRunner.WorkflowRunner.adj, and WorkflowRunner.WorkflowRunner.workflow_sequence.
|
protected |
Definition at line 76 of file WorkflowRunner.py.
References WorkflowRunner.WorkflowRunner.CFG_REFERENCE_K, WorkflowRunner.WorkflowRunner.COMMANDS_K, WorkflowRunner.WorkflowRunner.ONE_CMD_TOOL_K, WorkflowRunner.WorkflowRunner.WORKFLOW_STEPS_K, and WorkflowRunner.WorkflowRunner.WORKFLOWS_K.
WorkflowRunner.WorkflowRunner.run | ( | self, | |
working_dir, | |||
verbose = False |
|||
) |
Definition at line 114 of file WorkflowRunner.py.
References WorkflowRunner.WorkflowRunner.CFG_REFERENCE_K, WorkflowRunner.WorkflowRunner.COMMANDS_K, WorkflowRunner.WorkflowRunner.json_contents, WorkflowRunner.WorkflowRunner.ONE_CMD_TOOL_K, WorkflowRunner.WorkflowRunner.workflow_sequence, and WorkflowRunner.WorkflowRunner.WORKFLOW_STEPS_K.
WorkflowRunner.WorkflowRunner.adj |
Definition at line 46 of file WorkflowRunner.py.
Referenced by WorkflowRunner.WorkflowRunner._check_cycle().
|
static |
Definition at line 29 of file WorkflowRunner.py.
Referenced by WorkflowRunner.WorkflowRunner._verify_workflow(), and WorkflowRunner.WorkflowRunner.run().
|
static |
Definition at line 32 of file WorkflowRunner.py.
Referenced by WorkflowRunner.WorkflowRunner._verify_workflow(), and WorkflowRunner.WorkflowRunner.run().
|
static |
Definition at line 28 of file WorkflowRunner.py.
WorkflowRunner.WorkflowRunner.json_contents |
Definition at line 37 of file WorkflowRunner.py.
Referenced by WorkflowRunner.WorkflowRunner.run().
|
static |
Definition at line 31 of file WorkflowRunner.py.
Referenced by WorkflowRunner.WorkflowRunner._verify_workflow(), and WorkflowRunner.WorkflowRunner.run().
WorkflowRunner.WorkflowRunner.workflow_sequence |
Definition at line 55 of file WorkflowRunner.py.
Referenced by WorkflowRunner.WorkflowRunner._check_cycle(), and WorkflowRunner.WorkflowRunner.run().
|
static |
Definition at line 30 of file WorkflowRunner.py.
Referenced by WorkflowRunner.WorkflowRunner._verify_workflow(), and WorkflowRunner.WorkflowRunner.run().
|
static |
Definition at line 27 of file WorkflowRunner.py.
Referenced by WorkflowRunner.WorkflowRunner._verify_workflow().