tf.contrib.deprecated.histogram_summary

Outputs a Summary protocol buffer with a histogram. (deprecated)

tf.contrib.deprecated.histogram_summary(
    tag,
    values,
    collections=None,
    name=None
)

Defined in python/ops/logging_ops.py.

This ops is deprecated. Please switch to tf.summary.histogram.

For an explanation of why this op was deprecated, and information on how to migrate, look 'here'

The generated Summary has one summary value containing a histogram for values.

This op reports an InvalidArgument error if any value is not finite.

Args:

  • tag: A string Tensor. 0-D. Tag to use for the summary value.
  • values: A real numeric Tensor. Any shape. Values to use to build the histogram.
  • 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.