src/transformers/models/ernie/modeling_ernie.py/ErniePooler/__init__
class ErniePooler:    def __init__(self, config):
        super().__init__()
        self.dense = nn.Linear(config.hidden_size, config.hidden_size)
        self.activation = nn.Tanh()