UFDModelOutput¶
-
class
UFDModelOutput(loss: Optional[torch.Tensor] = None, logits: Optional[torch.Tensor] = None)[source]¶ Base class for outputs of UFD models
- Parameters
loss (
torch.Tensorof shape (1,), optional, returned whenlabelsis provided) – Classification loss. Loss function used is dependent on what is specified in UFDConfiglogits (
torch.Tensorof shape(batch_size, 1)) – Classification scores.