code: def build_input(self, use_dataloader=True):
      image_shape = [3, self.target_size, self.target_size]
      image_shape[0] = image_shape[0] * self.seglen
      image_shape = [None, self.seg_num] + image_shape
      self.use_dataloader = use_dataloader
  
      image = fluid.data(
          name="image", shape=image_shape, dtype="float32"
      )
      if self.mode != "infer":
          label = fluid.data(
              name="label", shape=[None, 1], dtype="int64"
          )
      else:
          label = None
  
      if use_dataloader:
          assert (
              self.mode != "infer"
          ), "dataloader is not recommendated when infer, please set use_dataloader to be false."
          self.dataloader = fluid.io.DataLoader.from_generator(
              feed_list=[image, label], capacity=4, iterable=True
          )
  
      self.feature_input = [image]
      self.label_input = label
  
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 3 for calling the TSN obj's underlying member method code with example usage: obj.build_input(use_dataloader) without return types