src/transformers/models/longformer/modeling_longformer.py/LongformerEncoder/__init__
class LongformerEncoder:    def __init__(self, config):
        super().__init__()
        self.config = config
        self.layer = nn.ModuleList([LongformerLayer(config, layer_id=i) for i in range(config.num_hidden_layers)])