code: def forward(self, x):
      if self.use_conv:
          h = self._upsample_2d(
              x, self.Conv2d_0.weight, k=self.fir_kernel
          )
          h = h + self.Conv2d_0.bias.reshape([1, -1, 1, 1])
      else:
          h = self._upsample_2d(x, k=self.fir_kernel, factor=2)
  
      return h
  
imports: from functools import partial
  import numpy
  import paddle
  import paddle.nn
  import paddle.nn.functional
label_desc: Use image node_id 3 for calling the FirUpsample2D obj's underlying member method code with example usage: obj.forward(x) and returns: h