probly.quantification.decomposition.duq.torch.torch_duq_uncertainty

probly.quantification.decomposition.duq.torch.torch_duq_uncertainty(kernel_values: Tensor) Tensor[source]

Per-sample DUQ uncertainty \(1 - \max_c K_c(x)\) for torch tensors.