tf.contrib.metrics.confusion_matrix

View source on GitHub

Deprecated. Use tf.math.confusion_matrix instead.

tf.contrib.metrics.confusion_matrix(
    labels,
    predictions,
    num_classes=None,
    dtype=tf.dtypes.int32,
    name=None,
    weights=None
)