src/transformers/models/roformer/modeling_flax_roformer.py/FlaxRoFormerLayerCollection/setup
class FlaxRoFormerLayerCollection:    def setup(self):
        self.layers = [
            FlaxRoFormerLayer(self.config, name=str(i), dtype=self.dtype) for i in range(self.config.num_hidden_layers)
        ]