code: def _multipath_interaction(feats):
      length = len(feats)
      if length == 1:
          return feats[0]
      sizes = [paddle.shape(x)[-2:] for x in feats]
      outs = []
      looper = list(range(length))
      for i, s in enumerate(sizes):
          out = feats[i]
          for j in filter(lambda x: x != i, looper):
              out += _interpolate(feats[j], size=s)
          outs.append(out)
      return outs
  
file_path: PaddleSeg/paddleseg/models/lpsnet.py
imports: from functools import partial
  import paddle
  import paddle.nn
  import paddle.nn.functional
  from paddleseg.cvlibs import manager
  from paddleseg.models import layers
  from paddleseg.utils import utils
label_desc: Use image node_id 1 for calling a global function with example usage: _multipath_interaction(feats) and returns: outs, feats