aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/python/ops/logging_ops.py
diff options
context:
space:
mode:
Diffstat (limited to 'tensorflow/python/ops/logging_ops.py')
-rw-r--r--tensorflow/python/ops/logging_ops.py12
1 files changed, 12 insertions, 0 deletions
diff --git a/tensorflow/python/ops/logging_ops.py b/tensorflow/python/ops/logging_ops.py
index f0fdb7b0bf..3502b3dbb3 100644
--- a/tensorflow/python/ops/logging_ops.py
+++ b/tensorflow/python/ops/logging_ops.py
@@ -70,6 +70,11 @@ def _Collect(val, collections, default_collections):
ops.add_to_collection(key, val)
+@deprecated(
+ "2016-11-30", "Please switch to tf.summary.histogram. Note that "
+ "tf.summary.histogram uses the node name instead of the tag. "
+ "This means that TensorFlow will automatically de-duplicate summary "
+ "names based on the scope they are created in.")
def histogram_summary(tag, values, collections=None, name=None):
# pylint: disable=line-too-long
"""Outputs a `Summary` protocol buffer with a histogram.
@@ -304,6 +309,13 @@ def get_summary_op():
return summary_op
+@deprecated(
+ "2016-11-30", "Please switch to tf.summary.scalar. Note that "
+ "tf.summary.scalar uses the node name instead of the tag. "
+ "This means that TensorFlow will automatically de-duplicate summary "
+ "names based on the scope they are created in. Also, passing a "
+ "tensor or list of tags to a scalar summary op is no longer "
+ "supported.")
def scalar_summary(tags, values, collections=None, name=None):
# pylint: disable=line-too-long
"""Outputs a `Summary` protocol buffer with scalar values.