ONE - On-device Neural Engine
|
Public Member Functions | |
__init__ (self, path) | |
add_opt (self, Optional[str] opt) | |
set_backend (self, Optional[str] backend) | |
set_target (self, Optional[str] target) | |
detect_import_drivers (self, dir) | |
run (self, working_dir, verbose=False) | |
Data Fields | |
path | |
optparser | |
cfgparser | |
import_drivers | |
backend | |
target | |
opt | |
Static Public Attributes | |
list | driver_sequence |
Protected Member Functions | |
_verify_cfg (self, cfgparser) | |
_is_available (self, driver) | |
Definition at line 28 of file CfgRunner.py.
CfgRunner.CfgRunner.__init__ | ( | self, | |
path | |||
) |
Definition at line 34 of file CfgRunner.py.
|
protected |
Definition at line 72 of file CfgRunner.py.
References CfgRunner.CfgRunner.cfgparser.
Referenced by CfgRunner.CfgRunner.run().
|
protected |
Definition at line 63 of file CfgRunner.py.
CfgRunner.CfgRunner.add_opt | ( | self, | |
Optional[str] | opt | ||
) |
Definition at line 78 of file CfgRunner.py.
References CfgRunner.CfgRunner.optparser.
CfgRunner.CfgRunner.detect_import_drivers | ( | self, | |
dir | |||
) |
Definition at line 101 of file CfgRunner.py.
References CfgRunner.CfgRunner.import_drivers.
CfgRunner.CfgRunner.run | ( | self, | |
working_dir, | |||
verbose = False |
|||
) |
Definition at line 104 of file CfgRunner.py.
References CfgRunner.CfgRunner._is_available(), CfgRunner.CfgRunner.backend, onert::backend::BackendContext.backend(), onert::backend::train::TrainableBackendContext.backend(), EventCollector::OpSeqEvent.backend, OpSeqDurationEvent.backend, Operation.backend, CfgRunner.CfgRunner.cfgparser, CfgRunner.CfgRunner.driver_sequence, CfgRunner.CfgRunner.import_drivers, CfgRunner.CfgRunner.opt, nnfw_train_info.opt, CfgRunner.CfgRunner.optparser, CfgRunner.CfgRunner.path, argumentparse.ArgumentParser.target, and CfgRunner.CfgRunner.target.
CfgRunner.CfgRunner.set_backend | ( | self, | |
Optional[str] | backend | ||
) |
Definition at line 95 of file CfgRunner.py.
References CfgRunner.CfgRunner.backend, onert::backend::BackendContext.backend(), onert::backend::train::TrainableBackendContext.backend(), EventCollector::OpSeqEvent.backend, OpSeqDurationEvent.backend, and Operation.backend.
CfgRunner.CfgRunner.set_target | ( | self, | |
Optional[str] | target | ||
) |
Definition at line 98 of file CfgRunner.py.
References argumentparse.ArgumentParser.target, and CfgRunner.CfgRunner.target.
CfgRunner.CfgRunner.backend |
Definition at line 57 of file CfgRunner.py.
Referenced by CfgRunner.CfgRunner.run(), and CfgRunner.CfgRunner.set_backend().
CfgRunner.CfgRunner.cfgparser |
Definition at line 37 of file CfgRunner.py.
Referenced by CfgRunner.CfgRunner._is_available(), and CfgRunner.CfgRunner.run().
|
static |
Definition at line 29 of file CfgRunner.py.
Referenced by CfgRunner.CfgRunner.run().
CfgRunner.CfgRunner.import_drivers |
Definition at line 44 of file CfgRunner.py.
Referenced by CfgRunner.CfgRunner.detect_import_drivers(), and CfgRunner.CfgRunner.run().
CfgRunner.CfgRunner.opt |
Definition at line 93 of file CfgRunner.py.
Referenced by CfgRunner.CfgRunner.run().
CfgRunner.CfgRunner.optparser |
Definition at line 36 of file CfgRunner.py.
Referenced by CfgRunner.CfgRunner.add_opt(), and CfgRunner.CfgRunner.run().
CfgRunner.CfgRunner.path |
Definition at line 35 of file CfgRunner.py.
Referenced by CfgRunner.CfgRunner.run().
CfgRunner.CfgRunner.target |
Definition at line 58 of file CfgRunner.py.
Referenced by argumentparse.ArgumentParser.__init__(), CfgRunner.CfgRunner.run(), and CfgRunner.CfgRunner.set_target().