lightning/pytorch_lightning/root_module/__init__.py

14 lines
448 B
Python

"""
.. warning:: `root_module` package has been renamed to `core` since v0.6.0.
The deprecated package name will be removed in v0.8.0.
"""
import warnings
warnings.warn("`root_module` package has been renamed to `core` since v0.6.0."
" The deprecated package name will be removed in v0.8.0.", DeprecationWarning)
from pytorch_lightning.core import ( # noqa: E402
decorators, grads, hooks, root_module, memory, model_saving
)