code: def __init__(self, dim_in, dim_out):
      super(ConvBlock, self).__init__()
      self.dim_in = dim_in
      self.dim_out = dim_out
  
      self.conv_block1 = self.__convblock(dim_in, dim_out // 2)
      self.conv_block2 = self.__convblock(dim_out // 2, dim_out // 4)
      self.conv_block3 = self.__convblock(dim_out // 4, dim_out // 4)
  
      if self.dim_in != self.dim_out:
          self.conv_skip = nn.Sequential(
              nn.InstanceNorm2D(
                  dim_in, weight_attr=False, bias_attr=False
              ),
              nn.ReLU(),
              nn.Conv2D(
                  dim_in,
                  dim_out,
                  kernel_size=1,
                  stride=1,
                  bias_attr=False,
              ),
          )
  
imports: import paddle
  import paddle.nn
  import paddle.nn.functional
label_desc: Use image node_id 1 to create a new ConvBlock object from inherited base classes: nn with example: obj = ConvBlock(dim_in, dim_out)