src/transformers/models/vilt/modeling_vilt.py/ViltEncoder/__init__
class ViltEncoder:    def __init__(self, config):
        super().__init__()
        self.config = config
        self.layer = nn.ModuleList([ViltLayer(config) for _ in range(config.num_hidden_layers)])
        self.gradient_checkpointing = False