src/transformers/models/deit/modeling_deit.py/DeiTEncoder/__init__
class DeiTEncoder:    def __init__(self, config):
        super().__init__()
        self.config = config
        self.layer = nn.ModuleList([DeiTLayer(config) for _ in range(config.num_hidden_layers)])