src/transformers/models/electra/modeling_tf_electra.py/TFElectraEncoder/__init__
class TFElectraEncoder:    def __init__(self, config: ElectraConfig, **kwargs):
        super().__init__(**kwargs)
        self.config = config
        self.layer = [TFElectraLayer(config, name=f"layer_._{i}") for i in range(config.num_hidden_layers)]