addons.tune.builder
Handles the tuner builder backend
#
TunerBuilder Objectsclass TunerBuilder(BaseBuilder)
#
__init__def __init__(*args, **kwargs)
TunerBuilder init
Arguments:
*args
- list of input classes that link to a backendconfigs
- None or List of configs to read fromdesc
- description for the arg parserno_cmd_line
- flag to force no command line reads**kwargs
- any extra keyword args
#
_make_group_override_parser@staticmethoddef _make_group_override_parser(parser, class_obj, class_name)
Makes a name specific override parser for a given class obj
Takes a class object of the backend and adds a new argument group with argument names given with name Class.val.(unrolled config parameters) so that individual parameters specific to a class can be overridden.
Arguments:
parser
- argument parserclass_obj
- instance of a backend classclass_name
- used for module matching
Returns:
parser
- argument parser with new class specific overrides