lightning/pytorch_lightning/root_module/hooks.py

12 lines
408 B
Python

"""
.. warning:: `root_module.hooks` module has been renamed to `core.hooks` since v0.6.0.
The deprecated module name will be removed in v0.8.0.
"""
import warnings
warnings.warn("`root_module.hooks` module has been renamed to `core.hooks` since v0.6.0."
" The deprecated module name will be removed in v0.8.0.", DeprecationWarning)
from pytorch_lightning.core.hooks import * # noqa: F403