class_docstr: This code was developed by jbpatel@mit.edu.
      
class_docstr_tok: ["This","code","was","developed","by","jbpatel","@","mit.edu","."]
code: def metric_dice(self, y_true, y_pred):
      self.dice_coef(y_true, y_pred)
      return self.diceMetric
  
imports: import numpy
  import itertools
label_desc: Use image node_id 7 for calling the WeightedCategoricalCrossEntropy obj's underlying member method code with example usage: obj.metric_dice(y_true, y_pred) and returns: self