src/transformers/models/vit_mae/modeling_vit_mae.py/ViTMAEEncoder/__init__
class ViTMAEEncoder:    def __init__(self, config: ViTMAEConfig) -> None:
        super().__init__()
        self.config = config
        self.layer = nn.ModuleList([ViTMAELayer(config) for _ in range(config.num_hidden_layers)])
        self.gradient_checkpointing = False