aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/python/__init__.py
diff options
context:
space:
mode:
authorGravatar Michael Case <mikecase@google.com>2018-09-05 11:24:13 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2018-09-05 11:28:18 -0700
commitd3a63ee12b1c8910cf71e87a81e59f998144ce36 (patch)
tree103658aff5b2fea33bf060913f792fcac76ce0bb /tensorflow/python/__init__.py
parent5d60dd9eab07bd02553cf7542641a08b0e3667cb (diff)
Internal Change.
PiperOrigin-RevId: 211666438
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 *