Outputs a Summary protocol buffer with a histogram.

    tag, values, name=None

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 Tensor of type string. Scalar. Tag to use for the Summary.Value.
  • values: A Tensor. Must be one of the following types: float32, float64, int32, uint8, int16, int8, int64, bfloat16, uint16, half, uint32, uint64. Any shape. Values to use to build the histogram.
  • name: A name for the operation (optional).


A Tensor of type string.