tf.metrics.sparse_average_precision_at_k

tf.metrics.sparse_average_precision_at_k(
    labels,
    predictions,
    k,
    weights=None,
    metrics_collections=None,
    updates_collections=None,
    name=None
)

Defined in tensorflow/python/ops/metrics_impl.py.

Renamed to average_precision_at_k, please use that method instead. (deprecated)

THIS FUNCTION IS DEPRECATED. It will be removed in a future version. Instructions for updating: Use average_precision_at_k instead