probly.quantification.decomposition.duq.torch

Torch quantification of DUQ representations.

Functions

torch_duq_uncertainty

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