code: def _transform_inputs(self, inputs):
      if self.in_transform == "resize_concat":
          inputs = [inputs[i] for i in self.in_index]
          inputs = [
              F.interpolate(
                  input_data=x,
                  size=paddle.shape(inputs[0])[2:],
                  mode="bilinear",
                  align_corners=self.align_corners,
              )
              for x in inputs
          ]
          inputs = paddle.concat(inputs, axis=1)
      elif self.in_transform == "multiple_select":
          inputs_tmp = [inputs[i] for i in self.in_index]
          inputs = inputs_tmp[0]
          for x in inputs_tmp[1:]:
              x = F.interpolate(
                  x,
                  size=paddle.shape(inputs)[2:],
                  mode="bilinear",
                  align_corners=self.align_corners,
              )
              inputs += x
      else:
          inputs = inputs[self.in_index]
  
      return inputs
  
file_path: PaddleSeg/paddleseg/models/topformer.py
imports: import warnings
  import paddle
  import paddle.nn
  import paddle.nn.functional
  from paddleseg.cvlibs import manager
  from paddleseg.models import layers
  from paddleseg.utils import utils
  from paddleseg.models.backbones.top_transformer import ConvBNAct
label_desc: Use image node_id 3 for calling the TopFormerHead obj's underlying member method code with example usage: obj._transform_inputs(inputs) and returns: inputs