tf.compat.v1.metrics.sparse_precision_at_k

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