code: def dice_coef_loss(y_true, y_pred):
      """A version of the soft-dice coefficient loss implemented in deepneuro.models.cost_functions.dice_coef
          that can be minimzed while training a model.
  
      Parameters
      ----------
      y_true : Tensor
          Ground truth values for input to a cost function.
      y_pred : Tensor
          Predicted values for input to a cost function.
  
      Returns
      -------
      Tensor
          Soft-dice loss ranging from 0 to 1.
      """
  
      return 1 - dice_coef(y_true, y_pred)
  
imports: import numpy
  import itertools
label_desc: Use image node_id 3 for calling a global function with example usage: dice_coef_loss(y_true, y_pred) and returns: unknown