Apply to speak at TensorFlow World. Deadline April 23rd. Propose talk

tf.contrib.deprecated.scalar_summary

tf.contrib.deprecated.scalar_summary(
    tags,
    values,
    collections=None,
    name=None
)

Defined in tensorflow/python/ops/logging_ops.py.

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.