DistillationLoss classkeras.distillation.DistillationLoss()
Base class for distillation loss computation.
Distillation losses define how to compute the distillation loss between teacher and student outputs. Each loss implements a specific approach to knowledge transfer, from simple logits matching to feature-based distillation.
To create custom distillation losses, subclass this class and
override the compute_loss method.