Average Precision Module Interface torchmetrics.AveragePrecision Functional Interface torchmetrics.functional.average_precision