def _compute(self) -> tuple[torch.Tensor, torch.Tensor]:
        """Compute prec/rec value pairs.

        Returns:
            Tuple containing Tensors for rec and prec
        """
        prec: torch.Tensor
        rec: torch.Tensor
        prec, rec, _ = super().compute()
        return (prec, rec)
Compute prec/rec value pairs.

        Returns:
            Tuple containing Tensors for rec and prec
        
src/anomalib/metrics/aupr.py