fix cmake python 2.7 test import fail
This commit is contained in:
parent
b50e7b980c
commit
53dd73a538
tensorflow
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user