Skip to content

Commit 1fc44a7

Browse files
committed
docs: enhance docstring for log_hparams method in ExperimentWriter class
1 parent e6cecc9 commit 1fc44a7

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/lightning/pytorch/loggers/csv_logs.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,9 @@ def __init__(self, log_dir: str) -> None:
5656
def log_hparams(self, params: dict[str, Any]) -> None:
5757
"""Save hyperparameters to a YAML file in the log directory.
5858
59+
This method updates the internal hyperparameters dictionary and saves
60+
all hyperparameters to ``hparams.yaml`` in the log directory.
61+
5962
Args:
6063
params: Dictionary of hyperparameters to log.
6164
"""

0 commit comments

Comments
 (0)