tf.compat.v1.summary.histogram

View source on GitHub

Outputs a Summary protocol buffer with a histogram.

tf.compat.v1.summary.histogram(
    name, values, collections=None, family=None
)

Adding a histogram summary makes it possible to visualize your data's distribution in TensorBoard. You can see a detailed explanation of the TensorBoard histogram dashboard 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:

Returns:

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