src/transformers/models/swin/modeling_swin.py/SwinOutput/__init__
class SwinOutput:    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)