# tf.contrib.summary.generic

<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#L736-L754) |

Writes a tensor summary if possible.

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