aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Michael Case <mikecase@google.com>2018-10-08 15:26:34 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2018-10-08 15:33:23 -0700
commita991acba07ce6c5903ee84e4a72d3d59e22b77fc (patch)
tree9d02d434c94d73a0daed6e990e27b8acfafc7890
parent0b13d0806b061deaec0e96cfdca1ae4509174f89 (diff)
Internal Change.
PiperOrigin-RevId: 216260437
-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 *