Skip to content

Commit 43d9d2c

Browse files
committed
Modify docs
1 parent ba576bf commit 43d9d2c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

docs/source-pytorch/common/trainer.rst

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1102,6 +1102,8 @@ With the parameter set to false, you can add custom code to log hyperparameters.
11021102
else:
11031103
logger.log_hyperparams(hparams_dict_2)
11041104
1105+
You can also use `self.logger.log_hyperparams(...)` inside `LightningModule` to log.
1106+
11051107
-----
11061108

11071109
Trainer class API

0 commit comments

Comments
 (0)