diff --git a/pytorch_lightning/loggers/test_tube.py b/pytorch_lightning/loggers/test_tube.py index 800b13b83c39c..bbe4897b47528 100644 --- a/pytorch_lightning/loggers/test_tube.py +++ b/pytorch_lightning/loggers/test_tube.py @@ -197,10 +197,22 @@ def close(self) -> None: @property def save_dir(self) -> Optional[str]: + """ + Gets the save directory. + + Returns: + The path to the save directory. + """ return self._save_dir @property def name(self) -> str: + """ + Gets the experiment name. + + Returns: + The experiment name if the experiment exists, else the name specified in the constructor. + """ if self._experiment is None: return self._name @@ -208,6 +220,12 @@ def name(self) -> str: @property def version(self) -> int: + """ + Gets the experiment version. + + Returns: + The experiment version if the experiment exists, else the next version. + """ if self._experiment is None: return self._version