code: def conv_up_psp(in_channels, out_channels, up_sample):
      return nn.Sequential(
          layers.ConvBNReLU(in_channels, out_channels, 3, padding=1),
          nn.Upsample(
              scale_factor=up_sample,
              mode="bilinear",
              align_corners=False,
          ),
      )
  
imports: from collections import defaultdict
  import time
  import paddle
  import paddle.nn
  import paddle.nn.functional
  import paddleseg
  from paddleseg.models import layers
  from paddleseg import utils
  from paddleseg.cvlibs import manager
  from ppmatting.models.losses import MRSD
label_desc: Use image node_id 1 for calling a global function with example usage: conv_up_psp(in_channels, out_channels, up_sample) and returns: nn