fusionlab.functional.tfdice module#

fusionlab.functional.tfdice.tf_dice_score(pred, target, axis=None)[source]#
Shape:
  • pred: \((N, *, C)\) where \(*\) means any number of additional dimensions

  • target: \((N, *, C)\), same shape as the input

  • Output: scalar.