diff options
author | 2018-08-18 23:48:03 -0700 | |
---|---|---|
committer | 2018-08-18 23:48:03 -0700 | |
commit | 7710c64014282cb2617383339fe32eb1b092ccdc (patch) | |
tree | 4775212bc553ab3bca9e7296c2d060853b2f5a17 | |
parent | 51100a8de57ef53e36a8a9f5a9829cbd33fbed04 (diff) | |
parent | 53dd73a538916cbfd96877c95dfd42eb6b92ed1c (diff) |
Merge pull request #18992 from fo40225:fix_win_py27
PiperOrigin-RevId: 209308626
-rw-r--r-- | tensorflow/__init__.py | 3 | ||||
-rw-r--r-- | tensorflow/contrib/cmake/python_modules.txt | 2 |
2 files changed, 4 insertions, 1 deletions
diff --git a/tensorflow/__init__.py b/tensorflow/__init__.py index 440e9f8dbd..21677512b6 100644 --- a/tensorflow/__init__.py +++ b/tensorflow/__init__.py @@ -28,7 +28,8 @@ 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 +from tensorflow.python.platform import app # pylint: disable=g-import-not-at-top +app.flags = flags del absolute_import del division diff --git a/tensorflow/contrib/cmake/python_modules.txt b/tensorflow/contrib/cmake/python_modules.txt index a5a947f726..07934ef324 100644 --- a/tensorflow/contrib/cmake/python_modules.txt +++ b/tensorflow/contrib/cmake/python_modules.txt @@ -4,6 +4,8 @@ tensorflow tensorflow/core tensorflow/core/example tensorflow/core/framework +tensorflow/core/kernels +tensorflow/core/kernels/boosted_trees tensorflow/core/lib tensorflow/core/lib/core tensorflow/core/profiler |