# tf.contrib.summary.histogram

<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/tensorflow/blob/v1.15.0/tensorflow/python/ops/summary_ops_v2.py#L789-L801) |

Writes a histogram summary if possible.

    tf.contrib.summary.histogram(
        name, tensor, family=None, step=None
    )