code: def fetches(self):
      if self.mode == "train" or self.mode == "valid":
          losses = self.loss()
          fetch_list = [
              losses,
              self.network_outputs[0],
              self.label_input,
          ]
      elif self.mode == "test":
          # losses = self.loss()
          fetch_list = [self.feature_output, self.label_input]
      elif self.mode == "infer":
          fetch_list = self.feature_output
      else:
          raise NotImplementedError(
              "mode {} not implemented".format(self.mode)
          )
  
      return fetch_list
  
imports: import numpy
  import paddle.fluid
  from paddle.fluid import ParamAttr
  from ..model import ModelBase
  from .tsn_res_model import TSN_ResNet
  import logging
label_desc: Use image node_id 10 for calling the TSN obj's underlying member method code with example usage: obj.fetches() and returns: fetch_list