code: def __init__(
      self, in_channels, hidden_dim=256, out_channels=7, **kwargs
  ):
      super(PSEHead, self).__init__()
      self.conv1 = nn.Conv2D(
          in_channels, hidden_dim, kernel_size=3, stride=1, padding=1
      )
      self.bn1 = nn.BatchNorm2D(hidden_dim)
      self.relu1 = nn.ReLU()
  
      self.conv2 = nn.Conv2D(
          hidden_dim, out_channels, kernel_size=1, stride=1, padding=0
      )
  
imports: from paddle import nn
label_desc: Use image node_id 1 to create a new PSEHead object from inherited base classes: nn with example: obj = PSEHead(in_channels, hidden_dim, out_channels)