Commit 2573b3b8 by Yizhi Liu Committed by Tianqi Chen

Deprecate NNVM warning msg (#4333)

parent de1bfa4b
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
# coding: utf-8 # coding: utf-8
"""NNVM python API for ease of use and help new framework establish python API. """ """NNVM python API for ease of use and help new framework establish python API. """
from __future__ import absolute_import as _abs from __future__ import absolute_import as _abs
import warnings
from . import _base from . import _base
from . import symbol as sym from . import symbol as sym
...@@ -10,3 +11,6 @@ from ._base import NNVMError ...@@ -10,3 +11,6 @@ from ._base import NNVMError
from . import frontend from . import frontend
__version__ = _base.__version__ __version__ = _base.__version__
warnings.warn("NNVM is deprecated and will be removed in a future version. Use Relay instead.",
FutureWarning)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment