Defined in tensorflow/python/ops/

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

THIS FUNCTION IS DEPRECATED. It will be removed after 2016-11-30. Instructions for updating: Please switch to tf.summary.histogram. Note that tf.summary.histogram uses the node name instead of the tag. This means that TensorFlow will automatically de-duplicate summary names based on the scope they are created in.

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.


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


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