code: def __init__(self, hidden_size):
      super(BertPooler, self).__init__()
      self.fc = nn.Linear(hidden_size, hidden_size)
      self.act = nn.Tanh()
  
imports: import paddle
  import paddle.nn
  import paddle.nn.functional
  from paddle.nn import ReLU, Swish, GELU
  import math
  from ppdet.core.workspace import register
  from ..shape_spec import ShapeSpec
label_desc: Use image node_id 1 to create a new BertPooler object from inherited base classes: nn with example: obj = BertPooler(hidden_size)