tf.contrib.deprecated.scalar_summary

View source on GitHub

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.

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).

A scalar Tensor of type string. The serialized Summary protocol buffer.