Remove contrib dependency from tensorflow/python:python
PiperOrigin-RevId: 269435200
diff --git a/tensorflow/python/BUILD b/tensorflow/python/BUILD
index 10eaee2..50be809 100644
--- a/tensorflow/python/BUILD
+++ b/tensorflow/python/BUILD
@@ -58,7 +58,7 @@
":no_contrib",
"//tensorflow/python/estimator:estimator_py",
"//tensorflow/python/tpu:tpu_estimator",
- ] + if_not_v2(["//tensorflow/contrib:contrib_py"]),
+ ],
)
py_library(
@@ -2356,9 +2356,7 @@
tf_gen_op_wrapper_private_py(
name = "rnn_ops_gen",
- visibility = [
- "//tensorflow/contrib/rnn:__pkg__",
- ],
+ visibility = ["//tensorflow/contrib/rnn:__pkg__"],
)
tf_gen_op_wrapper_private_py(