aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/python/__init__.py
diff options
context:
space:
mode:
authorGravatar Michael Case <mikecase@google.com>2018-09-04 13:59:25 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2018-09-04 14:10:26 -0700
commit8cf8afefdb4c240f74a05e24246c8cd2dcce9d54 (patch)
tree96c100277b843eea2cd331f04b31098a7d77bfae /tensorflow/python/__init__.py
parent44a80cfa262da58d824ed6e0a7a1ffd1eea8a55b (diff)
Internal Change.
PiperOrigin-RevId: 211519679
Diffstat (limited to 'tensorflow/python/__init__.py')
-rw-r--r--tensorflow/python/__init__.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/tensorflow/python/__init__.py b/tensorflow/python/__init__.py
index a2ab63bb48..4921ecc43c 100644
--- a/tensorflow/python/__init__.py
+++ b/tensorflow/python/__init__.py
@@ -48,6 +48,13 @@ 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 *