TF 2.0 is out! Get hands-on practice at TF World, Oct 28-31. Use code TF20 for 20% off select passes. Register now

tf.contrib.deprecated.histogram_summary

View source on GitHub

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

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

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.