Skip to content

Commit 96edcf3

Browse files
committed
Deprecate NNVM warning msg
1 parent 5d66e7a commit 96edcf3

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

nnvm/python/nnvm/__init__.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
# coding: utf-8
33
"""NNVM python API for ease of use and help new framework establish python API. """
44
from __future__ import absolute_import as _abs
5+
import warnings
56

67
from . import _base
78
from . import symbol as sym
@@ -10,3 +11,6 @@
1011
from . import frontend
1112

1213
__version__ = _base.__version__
14+
15+
warnings.warn("NNVM is deprecated and will be removed in a future version. Use Relay instead.",
16+
FutureWarning)

0 commit comments

Comments
 (0)