tf.compat.v1.metrics.average_precision_at_k

Computes average precision@k of predictions with respect to sparse labels.

average_precision_at_k creates two local variables,