exa.common.control.sweep.option.option_converter.convert_to_options

exa.common.control.sweep.option.option_converter.convert_to_options#

convert_to_options(config)#

Creates one of the options object based on configuration dictionary.

Note

There is no support for callable options, so it is impossible to create FunctionOptions out of configuration

Parameters:

config (Dict[str, Any]) – Configuration dictionary.

Raises:

ValueError – Error is raised if config has unsupported structure

Return type:

SweepOptions