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