src/transformers/models/electra/modeling_tf_electra.py/TFElectraForPreTraining/__init__
class TFElectraForPreTraining:    def __init__(self, config, **kwargs):
        super().__init__(config, **kwargs)

        self.electra = TFElectraMainLayer(config, name="electra")
        self.discriminator_predictions = TFElectraDiscriminatorPredictions(config, name="discriminator_predictions")