tf.contrib.deprecated.scalar_summary

Outputs a Summary protocol buffer with scalar values. (deprecated)

This ops is deprecated. Please switch to tf.summary.scalar. For an explanation of why this op was deprecated, and information on how to migrate, look 'here'

The input tags and values must have the same shape. The generated summary has a summary value for each tag-value pair in tags and values.

Args
tags A string Tensor. Tags for the summaries.
values A real numeric Tensor. Values for the summaries.
collections Optional list of graph collections keys. The new summary op is added to these collections. Defaults to [GraphKeys.SUMMARIES].
name A name for the operation (optional).
Returns
A scalar Tensor of type string. The serialized Summary protocol buffer.

© 2020 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r1.15/api_docs/python/tf/contrib/deprecated/scalar_summary