mirror of
https://github.com/wassname/pytorch-lightning.git
synced 2026-09-09 11:32:07 +08:00
Test deprecated API for 0.8.0 and 0.9.0 (#1071)
* till 0.8 * refactor * fix tests * fix tests * deprx till 0.9 * Update trainer.py * Apply suggestions from code review Co-authored-by: William Falcon <waf2107@columbia.edu>
This commit is contained in:
committed by
J. Borovec
co-authored by
William Falcon
parent
10311c48b7
commit
ff1f8ef400
@@ -0,0 +1,11 @@
|
||||
"""
|
||||
.. warning:: `root_module.root_module` module has been renamed to `core.lightning` since v0.6.0.
|
||||
The deprecated module name will be removed in v0.8.0.
|
||||
"""
|
||||
|
||||
import warnings
|
||||
|
||||
warnings.warn("`root_module.root_module` module has been renamed to `core.lightning` since v0.6.0."
|
||||
" The deprecated module name will be removed in v0.8.0.", DeprecationWarning)
|
||||
|
||||
from pytorch_lightning.core.lightning import * # noqa: F403
|
||||
Reference in New Issue
Block a user