Skip to content

Commit 473ef32

Browse files
Add deprecation warning for TensorFlow backend (#3734)
### Reason for changes Removing support TF backend in the next support
1 parent ab824ac commit 473ef32

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/nncf/tensorflow/__init__.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@
1212
Base subpackage for NNCF TensorFlow functionality.
1313
"""
1414

15+
from nncf.common.deprecation import warning_deprecated
1516
import tensorflow
1617
from packaging import version
1718
from packaging.specifiers import SpecifierSet
@@ -54,3 +55,7 @@
5455
from nncf.tensorflow.sparsity.magnitude import algorithm as magnitude_sparsity_algorithm
5556
from nncf.tensorflow.sparsity.rb import algorithm as rb_sparsity_algorithm
5657
from nncf.tensorflow.utils.state import ConfigState
58+
59+
warning_deprecated(
60+
"The TensorFlow backend is deprecated and will be removed in a future release."
61+
)

0 commit comments

Comments
 (0)