search_space#

Classes

Functions

class AxisSearchConfig#

Bases: object

__init__(*, axis_id, enabled=False, values=(), min_value=None, max_value=None, step=None, budget_grid=(), metadata=<factory>)#
Parameters:
  • axis_id (str)

  • enabled (bool)

  • values (tuple[Any, ...])

  • min_value (Any | None)

  • max_value (Any | None)

  • step (Any | None)

  • budget_grid (tuple[Any, ...])

  • metadata (dict[str, Any])

Return type:

None

axis_id: str#
budget_grid: tuple[Any, ...] = ()#
enabled: bool = False#
classmethod from_mapping(axis_id, data)#
Parameters:
  • axis_id (str)

  • data (dict[str, Any] | None)

Return type:

AxisSearchConfig

max_value: Any | None = None#
metadata: dict[str, Any]#
min_value: Any | None = None#
step: Any | None = None#
to_dict()#
Return type:

dict[str, Any]

values: tuple[Any, ...] = ()#
class SearchSpace#

Bases: object

__init__(*, axes=<factory>, layer_filter=<factory>, subblock_filter=<factory>)#
Parameters:
  • axes (dict[str, AxisSearchConfig])

  • layer_filter (dict[str, Any])

  • subblock_filter (dict[str, Any])

Return type:

None

axes: dict[str, AxisSearchConfig]#
property enabled_axes: tuple[str, ...]#
property identity: str#
layer_filter: dict[str, Any]#
subblock_filter: dict[str, Any]#
to_dict()#
Return type:

dict[str, Any]

load_search_space(config)#
Parameters:

config (dict[str, Any])

Return type:

SearchSpace