QMRITools`
QMRITools`

DiceLossLayer

DiceLossLayer[]

represents a net layer that computes the Dice loss by comparing input class probability vectors with the target class vector.

DiceLossLayer[n]

does the same but n defines the power of the denomenator, with n=2 the squared dice score, is calculated.

Examples