From a991acba07ce6c5903ee84e4a72d3d59e22b77fc Mon Sep 17 00:00:00 2001 From: Michael Case Date: Mon, 8 Oct 2018 15:26:34 -0700 Subject: Internal Change. PiperOrigin-RevId: 216260437 --- tensorflow/contrib/__init__.py | 8 -------- tensorflow/python/__init__.py | 7 ------- 2 files changed, 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 * -- cgit v1.2.3