From ce8fc43add6728bd74a4236c97cad4025737b35e Mon Sep 17 00:00:00 2001 From: Jirka Borovec Date: Thu, 18 Feb 2021 20:57:05 +0100 Subject: [PATCH 1/2] v1.2.0 --- CHANGELOG.md | 3 ++- pytorch_lightning/__init__.py | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6611018607acd8..b80afe7b24d0f3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,7 +4,8 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/). -## [1.2] - YYYY-MM-DD + +## [1.2.0] - 2021-02-18 ### Added diff --git a/pytorch_lightning/__init__.py b/pytorch_lightning/__init__.py index c8f0d7b0d4119e..b816a4e8aafb9c 100644 --- a/pytorch_lightning/__init__.py +++ b/pytorch_lightning/__init__.py @@ -5,7 +5,7 @@ import time _this_year = time.strftime("%Y") -__version__ = '1.2.0rc2' +__version__ = '1.2.0' __author__ = 'William Falcon et al.' __author_email__ = 'waf2107@columbia.edu' __license__ = 'Apache-2.0' From 368d93070d5b9a59ae930501b5fb18c3e0617a7b Mon Sep 17 00:00:00 2001 From: Jirka Borovec Date: Thu, 18 Feb 2021 21:10:26 +0100 Subject: [PATCH 2/2] docs --- docs/source/common/lightning_module.rst | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/docs/source/common/lightning_module.rst b/docs/source/common/lightning_module.rst index 001035c8972e88..e9c138a2c12cc3 100644 --- a/docs/source/common/lightning_module.rst +++ b/docs/source/common/lightning_module.rst @@ -841,7 +841,8 @@ The current step (does not reset each epoch) hparams ~~~~~~~ -After calling ``save_hyperparameters`` anything passed to ``__init__()`` is available via the ``hparams`` attribute. +The arguments saved by calling ``save_hyperparameters`` passed through ``__init__()`` + could be accessed by the ``hparams`` attribute. .. code-block:: python