MaxLogitCriterion#
- class torch_uncertainty.ood_criteria.MaxLogitCriterion[source]#
OOD criterion based on the maximum logit value.
This criterion computes the negative of the highest logit value across the output dimensions. Lower maximum logits indicate greater uncertainty.
- Variables:
input_type (OODCriterionInputType) – Expected input type is logits.