class_docstr: Build CWD distill model.                                                                                                                               
  Args:                                                                                                                                                  
      cfg: The student config.                                                                                                                           
      slim_cfg: The teacher and distill config.                                                                                                          
class_docstr_tok: ["Build","CWD","distill","model",".","Args",":","cfg",":","The","student","config",".","slim_cfg",":","The","teacher","and","distill","config","."]
code: def get_loss_retinanet(self, stu_fea_list, tea_fea_list, inputs):
      loss = self.student_model.head(stu_fea_list, inputs)
      loss_dict = {}
      for idx, k in enumerate(self.distill_loss):
          loss_dict[k] = self.distill_loss[k](
              stu_fea_list[idx], tea_fea_list[idx]
          )
  
          loss["loss"] += loss_dict[k]
          loss[k] = loss_dict[k]
      return loss
  
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import paddle
  import paddle.nn
  from ppdet.core.workspace import register, create, load_config
  from ppdet.utils.checkpoint import load_pretrain_weight
  from ppdet.utils.logger import setup_logger
label_desc: Use image node_id 3 for calling the CWDDistillModel obj's underlying member method code with example usage: obj.get_loss_retinanet(stu_fea_list, tea_fea_list, inputs) and returns: loss