Skip to content

Commit 5c8ce17

Browse files
committed
Fix bug
1 parent e1c9893 commit 5c8ce17

File tree

1 file changed

+1
-0
lines changed
  • pytorch_lightning/trainer/connectors/logger_connector

1 file changed

+1
-0
lines changed

pytorch_lightning/trainer/connectors/logger_connector/result.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ def reduce_fx(self, reduce_fx: Union[str, Callable]) -> None:
8383
' Please, open an issue in `https://github.com/PyTorchLightning/pytorch-lightning/issues`.'
8484
f' Found: {reduce_fx}'
8585
)
86+
self._reduce_fx = reduce_fx
8687
if isinstance(reduce_fx, str):
8788
reduce_fx = reduce_fx.lower()
8889
if reduce_fx == 'avg':

0 commit comments

Comments
 (0)