src/transformers/models/altclip/modeling_altclip.py/AltRobertaEncoder/__init__
class AltRobertaEncoder:    def __init__(self, config):
        super().__init__()
        self.config = config
        self.layer = nn.ModuleList([AltRobertaLayer(config) for _ in range(config.num_hidden_layers)])
        self.gradient_checkpointing = False