src/transformers/models/dinat/modeling_dinat.py/DinatOutput/__init__
class DinatOutput:    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)