all

ParameterGroup.all(root: str | None = None, separator: str = '.') Generator[tuple[str, Parameter], None, None][source]

Iterate over all parameter in the group and it’s subgroups together with their labels.

Parameters
  • root (str) – The label of the root group

  • separator (str) – The separator for the parameter labels.

Yields

tuple[str, Parameter] – A tuple containing the full label of the parameter and the parameter itself.