src/transformers/models/x_clip/modeling_x_clip.py/XCLIPVisionEncoder/__init__
class XCLIPVisionEncoder:    def __init__(self, config: XCLIPConfig):
        super().__init__()
        self.config = config
        self.layers = nn.ModuleList([XCLIPVisionEncoderLayer(config) for _ in range(config.num_hidden_layers)])
        self.gradient_checkpointing = False