src/transformers/models/electra/modeling_flax_electra.py/FlaxElectraEncoder/setup
class FlaxElectraEncoder:    def setup(self):
        self.layer = FlaxElectraLayerCollection(
            self.config,
            dtype=self.dtype,
            gradient_checkpointing=self.gradient_checkpointing,
        )