autointent.schemas.node_validation.OptimizationSearchSpaceConfig#

class autointent.schemas.node_validation.OptimizationSearchSpaceConfig#

Bases: pydantic.RootModel[list[NodeValidatorType]]

Optimizer configuration.

__iter__()#

Iterate over the root.

Return type:

collections.abc.Iterator[NodeValidatorType]

__getitem__(item)#

To get item directly from the root.

Parameters:

item (int) – Index

Returns:

Item

Return type:

NodeValidatorType

classmethod validate_nodes(data)#

Validate the search space configuration.

Parameters:

data (list[Any]) – List of search space configurations.

Returns:

List of validated search space configurations.

Return type:

list[Any]