ONE - On-device Neural Engine
|
Public Member Functions | |
__init__ (self, driver, args, log_file) | |
add_option_with_valid_args (self, option, attrs) | |
add_option_with_values (self, option, values) | |
add_noarg_option_if_valid_arg (self, option, attr) | |
run (self) | |
Data Fields | |
cmd | |
driver | |
args | |
log_file | |
Definition at line 20 of file Command.py.
Command.Command.__init__ | ( | self, | |
driver, | |||
args, | |||
log_file | |||
) |
Definition at line 21 of file Command.py.
Command.Command.add_noarg_option_if_valid_arg | ( | self, | |
option, | |||
attr | |||
) |
Definition at line 46 of file Command.py.
References locop::NodeDesc.args(), locop::NodeDesc.args(), Command.Command.args, Content.args, Event.args, and Command.Command.cmd.
Command.Command.add_option_with_valid_args | ( | self, | |
option, | |||
attrs | |||
) |
Definition at line 29 of file Command.py.
References locop::NodeDesc.args(), locop::NodeDesc.args(), Command.Command.args, Content.args, Event.args, and Command.Command.cmd.
Command.Command.add_option_with_values | ( | self, | |
option, | |||
values | |||
) |
Definition at line 39 of file Command.py.
References Command.Command.cmd.
Command.Command.run | ( | self | ) |
Definition at line 52 of file Command.py.
References Command.Command.cmd, argumentparse.ArgumentParser.driver, Command.Command.driver, and Command.Command.log_file.
Command.Command.args |
Definition at line 24 of file Command.py.
Referenced by Command.Command.add_noarg_option_if_valid_arg(), and Command.Command.add_option_with_valid_args().
Command.Command.cmd |
Definition at line 22 of file Command.py.
Referenced by Command.Command.add_noarg_option_if_valid_arg(), Command.Command.add_option_with_valid_args(), Command.Command.add_option_with_values(), and Command.Command.run().
Command.Command.driver |
Definition at line 23 of file Command.py.
Referenced by argumentparse.ArgumentParser.__init__(), argumentparse.ArgumentParser.print_help(), and Command.Command.run().
Command.Command.log_file |
Definition at line 25 of file Command.py.
Referenced by Command.Command.run().