code: def __init__(self):
      super(CTLoss, self).__init__()
      self.kernel_loss = DiceLoss()
      self.loc_loss = SmoothL1Loss(beta=0.1, loss_weight=0.05)
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import paddle
  from paddle import nn
  import paddle.nn.functional
  import numpy
label_desc: Use image node_id 1 to create a new CTLoss object from inherited base classes: nn with example: obj = CTLoss()