aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/api_template.__init__.py
diff options
context:
space:
mode:
authorGravatar Michael Case <mikecase@google.com>2018-06-21 11:11:14 -0700
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2018-06-21 11:14:00 -0700
commit780e7714d1ddc3480e64ed484df3c0cb5b665e0d (patch)
tree1b6f4fa2b9a9e37952924681dd22c564c35ada74 /tensorflow/api_template.__init__.py
parent5d38ddc691ba39f3262b261346d4eca8284f6ac4 (diff)
Internal Change.
PiperOrigin-RevId: 201554374
Diffstat (limited to 'tensorflow/api_template.__init__.py')
-rw-r--r--tensorflow/api_template.__init__.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/tensorflow/api_template.__init__.py b/tensorflow/api_template.__init__.py
index 9662d7b478..779f65d5b1 100644
--- a/tensorflow/api_template.__init__.py
+++ b/tensorflow/api_template.__init__.py
@@ -20,7 +20,6 @@ from __future__ import print_function
# pylint: disable=g-bad-import-order
from tensorflow.python import pywrap_tensorflow # pylint: disable=unused-import
-# API IMPORTS PLACEHOLDER
try:
import os # pylint: disable=g-import-not-at-top
@@ -37,6 +36,8 @@ try:
except (ImportError, AttributeError):
print('tf.estimator package not installed.')
+# API IMPORTS PLACEHOLDER
+
from tensorflow.python.util.lazy_loader import LazyLoader # pylint: disable=g-import-not-at-top
contrib = LazyLoader('contrib', globals(), 'tensorflow.contrib')
del LazyLoader