code: def prepare_distill_adaptor():
      """
      Prepare the distill adaptors for student and teacher model.
      The adaptors set the intermediate feature tensors that used for distillation.
      """
  
      class StudentAdaptor(AdaptorBase):
          def mapping_layers(self):
              mapping_layers = {}
              # mapping_layers['hidden_0'] = 'layer_name'
              if self.add_tensor:
                  # mapping_layers["hidden_0"] = self.model.logit_list
                  pass
              return mapping_layers
  
      class TeatherAdaptor(AdaptorBase):
          def mapping_layers(self):
              mapping_layers = {}
              # mapping_layers['hidden_0'] = 'layer_name'
              if self.add_tensor:
                  # mapping_layers["hidden_0"] = self.model.logit_list
                  pass
              return mapping_layers
  
      return StudentAdaptor, TeatherAdaptor
  
label_desc: Use image node_id 1 for calling a global function with example usage: prepare_distill_adaptor() and returns: StudentAdaptor,  TeatherAdaptor, mapping_layers, mapping_layers