tf.compat.v1.metrics.sparse_average_precision_at_k

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