src/transformers/models/pegasus/modeling_flax_pegasus.py/FlaxPegasusEncoderLayerCollection/setup
class FlaxPegasusEncoderLayerCollection:    def setup(self):
        self.layers = [
            FlaxPegasusEncoderLayer(self.config, name=str(i), dtype=self.dtype)
            for i in range(self.config.encoder_layers)
        ]
        self.layerdrop = self.config.encoder_layerdrop