diff options
author | 2018-05-04 14:53:58 -0700 | |
---|---|---|
committer | 2018-05-04 15:40:08 -0700 | |
commit | 4d0388d22060a61f40965127c153c681b2412c50 (patch) | |
tree | 6aefa7b9c0e2e2a1cbc3d76225f0a1fba33af43a /tensorflow/python/debug | |
parent | 67b5e724121c5874425936fe01318642508d9975 (diff) |
Fix build failure for macos py3
PiperOrigin-RevId: 195475780
Diffstat (limited to 'tensorflow/python/debug')
-rw-r--r-- | tensorflow/python/debug/examples/debug_tflearn_iris.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tensorflow/python/debug/examples/debug_tflearn_iris.py b/tensorflow/python/debug/examples/debug_tflearn_iris.py index 00090b21fe..7cbaae46b4 100644 --- a/tensorflow/python/debug/examples/debug_tflearn_iris.py +++ b/tensorflow/python/debug/examples/debug_tflearn_iris.py @@ -140,7 +140,7 @@ def main(_): # Make predictions, using tfdbg hook. predict_results = classifier.predict(test_input_fn, hooks=hooks) - print("A prediction result: %s" % predict_results.next()) + print("A prediction result: %s" % next(predict_results)) if __name__ == "__main__": |