Skip to content

Commit e4cded9

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent b8609b2 commit e4cded9

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

pytorch_lightning/loggers/base.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -145,10 +145,8 @@ def _finalize_agg_metrics(self):
145145
self.log_metrics(metrics=metrics_to_log, step=agg_step)
146146

147147
def agg_and_log_metrics(self, metrics: Dict[str, float], step: Optional[int] = None):
148-
"""
149-
.. deprecated:: v1.6
150-
This method is deprecated in v1.6 and will be removed in v1.8.
151-
Please use `LightningLoggerBase.log_metrics` instead.
148+
""".. deprecated:: v1.6 This method is deprecated in v1.6 and will be removed in v1.8. Please use
149+
`LightningLoggerBase.log_metrics` instead.
152150
153151
Aggregates and records metrics. This method doesn't log the passed metrics instantaneously, but instead
154152
it aggregates them and logs only if metrics are ready to be logged.

0 commit comments

Comments
 (0)