diff options
author | Anna R <annarev@google.com> | 2018-04-02 12:07:16 -0700 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2018-04-02 12:09:33 -0700 |
commit | 43f5b27f6064b64b7dbcfcae865829e3617a7112 (patch) | |
tree | 947d12cfffcb9f5e9a6f6ae480649eea4e9aa400 /tensorflow/__init__.py | |
parent | 46df4a1afd50f69966e63245e7758cc0d5656c4e (diff) |
Switch to the TensorFlow API generation based on ApiDef's and tf_export
decorators.
PiperOrigin-RevId: 191326767
Diffstat (limited to 'tensorflow/__init__.py')
-rw-r--r-- | tensorflow/__init__.py | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/tensorflow/__init__.py b/tensorflow/__init__.py index 78ad6aec19..c8683e3976 100644 --- a/tensorflow/__init__.py +++ b/tensorflow/__init__.py @@ -20,14 +20,19 @@ from __future__ import absolute_import from __future__ import division from __future__ import print_function +# pylint: disable=g-bad-import-order +from tensorflow.python import pywrap_tensorflow # pylint: disable=unused-import # pylint: disable=wildcard-import -from tensorflow.python import * # pylint: disable=redefined-builtin +from tensorflow.tools.api.generator.api import * # pylint: disable=redefined-builtin # pylint: enable=wildcard-import from tensorflow.python.util.lazy_loader import LazyLoader contrib = LazyLoader('contrib', globals(), 'tensorflow.contrib') del LazyLoader +from tensorflow.python.platform import flags # pylint: disable=g-import-not-at-top +app.flags = flags # pylint: disable=undefined-variable + del absolute_import del division del print_function |