minerva.losses._functional
Functional API for losses.
Functions
|
Module Contents
- minerva.losses._functional.dice_score(y_hat, y, smooth=0.0, eps=1e-07, dims=None)
- Parameters:
y_hat (torch.Tensor)
y (torch.Tensor)
smooth (float)
eps (float)
- Return type:
torch.Tensor