aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--tensorflow/contrib/__init__.py8
-rw-r--r--tensorflow/python/__init__.py7
2 files changed, 0 insertions, 15 deletions
diff --git a/tensorflow/contrib/__init__.py b/tensorflow/contrib/__init__.py
index e71b0e0ae3..f52a1a7bab 100644
--- a/tensorflow/contrib/__init__.py
+++ b/tensorflow/contrib/__init__.py
@@ -21,14 +21,6 @@ from __future__ import print_function
import os
-from tensorflow.python.tools import component_api_helper
-component_api_helper.package_hook(
- parent_package_str=(
- "tensorflow.contrib"),
- child_package_str=(
- "tensorflow_estimator.contrib.estimator"))
-del component_api_helper
-
# Add projects here, they will show up under tf.contrib.
from tensorflow.contrib import autograph
from tensorflow.contrib import batching
diff --git a/tensorflow/python/__init__.py b/tensorflow/python/__init__.py
index 4921ecc43c..a2ab63bb48 100644
--- a/tensorflow/python/__init__.py
+++ b/tensorflow/python/__init__.py
@@ -48,13 +48,6 @@ import numpy as np
from tensorflow.python import pywrap_tensorflow
-from tensorflow.python.tools import component_api_helper
-component_api_helper.package_hook(
- parent_package_str='tensorflow.python',
- child_package_str=(
- 'tensorflow_estimator.python.estimator'))
-del component_api_helper
-
# Protocol buffers
from tensorflow.core.framework.graph_pb2 import *
from tensorflow.core.framework.node_def_pb2 import *