Add tf.print an an alias for tf.Print (#19234)
authorGeoffrey Irving <irving@naml.us>
Thu, 17 May 2018 17:16:07 +0000 (10:16 -0700)
committerRasmus Munk Larsen <rmlarsen@google.com>
Thu, 17 May 2018 17:16:07 +0000 (10:16 -0700)
commit9b41e5158e8bcc8e1853161dd24738afbd3573f5
tree2dccc3eed07742bfc03f3446df681bea795e5839
parentd8f9538ab48e3c677aaf532769d29bc29a05b76e
Add tf.print an an alias for tf.Print (#19234)

Users with Python 3 or `from __future__ import print_function` can now
use lowercase `tf.print`.  `create_python_api.py` needed some adjustment
to ensure that `print_function` doesn't appear as part of the API.

Fixes #18053.
tensorflow/python/ops/logging_ops.py
tensorflow/tools/api/generator/create_python_api.py
tensorflow/tools/api/golden/tensorflow.pbtxt