Shortcuts

base

Functions

merge_dicts

rtype:

Dict

rank_zero_experiment

rtype:

Callable

Classes

DummyExperiment

DummyLogger

LightningLoggerBase

Base class for experiment loggers.

LoggerCollection

class pytorch_lightning.loggers.base.DummyExperiment(*args, **kwargs)[source]

Bases: pytorch_lightning.loggers.logger.DummyExperiment

class pytorch_lightning.loggers.base.DummyLogger(*args, **kwargs)[source]

Bases: pytorch_lightning.loggers.logger.DummyLogger

class pytorch_lightning.loggers.base.LightningLoggerBase(*args, **kwargs)[source]

Bases: pytorch_lightning.loggers.logger.Logger

Base class for experiment loggers.

Parameters:
  • agg_key_funcs – Dictionary which maps a metric name to a function, which will aggregate the metric values for the same steps.

  • agg_default_func – Default function to aggregate metric values. If some metric name is not presented in the agg_key_funcs dictionary, then the agg_default_func will be used for aggregation.

  • deprecated: (..) – v1.6: The parameters agg_key_funcs and agg_default_func are deprecated in v1.6 and will be removed in v1.8.

Note

The agg_key_funcs and agg_default_func arguments are used only when one logs metrics with the agg_and_log_metrics() method.

class pytorch_lightning.loggers.base.LoggerCollection(*args, **kwargs)[source]

Bases: pytorch_lightning.loggers.logger.LoggerCollection