src/transformers/models/opt/modeling_flax_opt.py/FlaxOPTDecoderLayerCollection/setup
class FlaxOPTDecoderLayerCollection:    def setup(self):
        self.layers = [
            FlaxOPTDecoderLayer(self.config, name=str(i), dtype=self.dtype)
            for i in range(self.config.num_hidden_layers)
        ]
        self.layerdrop = self.config.layerdrop