src/transformers/models/beit/modeling_beit.py/BeitSelfOutput/forward
class BeitSelfOutput:    def forward(self, hidden_states, input_tensor, gamma=None):
        hidden_states = self.dense(hidden_states)
        hidden_states = self.dropout(hidden_states)

        return hidden_states