Skip to content

Commit 6ace975

Browse files
authored
TF 1.x warning (#2531)
1 parent db4d80f commit 6ace975

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

coremltools/_deps/__init__.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,8 @@ def __get_sklearn_version(version):
123123
_HAS_TF_2 = True
124124

125125
if _HAS_TF_1:
126+
logger.warning("Coremltools will drop support for conversion from TensorFlow 1.x models in the next release.")
127+
126128
if tf_ver < Version(_TF_1_MIN_VERSION):
127129
logger.warning(
128130
(

0 commit comments

Comments
 (0)