configuration

cockpit.utils.configuration.configuration(label, track_schedule=None, verbose=False)[source]

Use pre-defined collections of quantities that should be used for tracking.

Currently supports three different configurations:

Parameters
  • label (str) – String specifying the configuration type. Possible configurations are (least to most expensive) 'economy', 'business', 'full'.

  • track_schedule (callable, optional) – Function that maps the global_step to a boolean, which determines if the quantity should be computed. Defaults to None.

  • verbose (bool, optional) – Turns on verbose mode. Defaults to False.

Returns

Instantiated quantities for a cockpit configuration.

Return type

list