src/transformers/models/swinv2/modeling_swinv2.py/Swinv2Output/__init__
class Swinv2Output:    def __init__(self, config, dim):
        super().__init__()
        self.dense = nn.Linear(int(config.mlp_ratio * dim), dim)
        self.dropout = nn.Dropout(config.hidden_dropout_prob)