mixmo.core.temperature_scaling¶
Temperature scaling functions and networks modules Taken from https://github.com/gpleiss/temperature_scaling/blob/master/temperature_scaling.py
Functions
|
Apply temperature relaxation on logits |
Classes
|
A thin decorator, which wraps a network with temperature scaling network (nn.Module): |