code: def __init__(self, ch_ins, ch_out, up_strides, dcn_v2=True):
      super(IDAUp, self).__init__()
      for i in range(1, len(ch_ins)):
          ch_in = ch_ins[i]
          up_s = int(up_strides[i])
          fan_in = ch_in * 3 * 3
          stdv = 1.0 / math.sqrt(fan_in)
          proj = nn.Sequential(
              ConvNormLayer(
                  ch_in,
                  ch_out,
                  filter_size=3,
                  stride=1,
                  use_dcn=dcn_v2,
                  bias_on=dcn_v2,
                  norm_decay=None,
                  dcn_lr_scale=1.0,
                  dcn_regularizer=None,
                  initializer=Uniform(-stdv, stdv),
              ),
              nn.ReLU(),
          )
          node = nn.Sequential(
              ConvNormLayer(
                  ch_out,
                  ch_out,
                  filter_size=3,
                  stride=1,
                  use_dcn=dcn_v2,
                  bias_on=dcn_v2,
                  norm_decay=None,
                  dcn_lr_scale=1.0,
                  dcn_regularizer=None,
                  initializer=Uniform(-stdv, stdv),
              ),
              nn.ReLU(),
          )
  
          kernel_size = up_s * 2
          fan_in = ch_out * kernel_size * kernel_size
          stdv = 1.0 / math.sqrt(fan_in)
          up = nn.Conv2DTranspose(
              ch_out,
              ch_out,
              kernel_size=up_s * 2,
              stride=up_s,
              padding=up_s // 2,
              groups=ch_out,
              weight_attr=ParamAttr(initializer=Uniform(-stdv, stdv)),
              bias_attr=False,
          )
          fill_up_weights(up)
          setattr(self, "proj_" + str(i), proj)
          setattr(self, "up_" + str(i), up)
          setattr(self, "node_" + str(i), node)
  
imports: import numpy
  import math
  import paddle
  import paddle.nn
  from paddle import ParamAttr
  from paddle.nn.initializer import Uniform
  import paddle.nn.functional
  from ppdet.core.workspace import register, serializable
  from ppdet.modeling.layers import ConvNormLayer
  from ppdet.modeling.backbones.hardnet import ConvLayer, HarDBlock
  from ..shape_spec import ShapeSpec
label_desc: Use image node_id 1 to create a new IDAUp object from inherited base classes: nn with example: obj = IDAUp(ch_ins, ch_out, up_strides, dcn_v2)