from_dict

classmethod ParameterGroup.from_dict(parameter_dict: dict[str, dict[str, Any] | list[float | list[Any]]], label: str = None, root_group: ParameterGroup = None) ParameterGroup[source]

Create a ParameterGroup from a dictionary.

Parameters
  • parameter_dict (dict[str, dict | list]) – A parameter dictionary containing parameters.

  • label (str) – The label of the group.

  • root_group (ParameterGroup) – The root group

Returns

The created ParameterGroup

Return type

ParameterGroup