torch_selective_prediction

probly.evaluation.selective_prediction.torch.torch_selective_prediction(criterion: Tensor, losses: Tensor, n_bins: int = 50) tuple[Tensor, Tensor][source]

Perform selective prediction for PyTorch tensors.