mirror of
https://github.com/wassname/pytorch-lightning.git
synced 2026-10-03 12:50:15 +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:
1 parent
10311c48b7
commit
ff1f8ef400
27 files changed
+286
-93
No files matched your search
@@ -0,0 +1,11 @@
|
||||
"""
|
||||
.. warning:: `root_module.model_saving` module has been renamed to `core.saving` since v0.6.0.
|
||||
The deprecated module name will be removed in v0.8.0.
|
||||
"""
|
||||
|
||||
import warnings
|
||||
|
||||
warnings.warn("`root_module.model_saving` module has been renamed to `core.saving` since v0.6.0."
|
||||
" The deprecated module name will be removed in v0.8.0.", DeprecationWarning)
|
||||
|
||||
from pytorch_lightning.core.saving import * # noqa: F403
|
||||
Reference in new issue
Block a user