aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/python/summary
diff options
context:
space:
mode:
authorGravatar Dandelion Mané <dandelion@google.com>2017-03-28 15:04:01 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2017-03-28 16:29:34 -0700
commit6ef3aaf51a40d0d8a45c8191da13ebf48f1c1671 (patch)
treeae0a6491fe00ed64184e4d90e2323f20ab9f0d58 /tensorflow/python/summary
parentddbe30bd1e76f13b7d8d49d9db8d76c139ef5071 (diff)
Add tf.summary.text to the TensorFlow API.
tf.summary.text writes scalar string tensors into summaries, for visualization in the TensorBoard text dashboard. Markdown is supported. Change: 151511881
Diffstat (limited to 'tensorflow/python/summary')
-rw-r--r--tensorflow/python/summary/summary.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/tensorflow/python/summary/summary.py b/tensorflow/python/summary/summary.py
index 44a6686cd6..d130588fa2 100644
--- a/tensorflow/python/summary/summary.py
+++ b/tensorflow/python/summary/summary.py
@@ -24,6 +24,7 @@ See the @{$python/summary} guide.
@@histogram
@@audio
@@image
+@@text
@@merge
@@merge_all
@@get_summary_description
@@ -56,8 +57,14 @@ from tensorflow.python.ops import gen_logging_ops as _gen_logging_ops
# pylint: disable=unused-import
from tensorflow.python.ops.summary_ops import tensor_summary
# pylint: enable=unused-import
+
from tensorflow.python.platform import tf_logging as _logging
+# exports text
+# pylint: disable=unused-import
+from tensorflow.python.summary.text_summary import text_summary as text
+# pylint: enable=unused-import
+
# exports FileWriter, FileWriterCache
# pylint: disable=unused-import
from tensorflow.python.summary.writer.writer import FileWriter