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