src/transformers/models/groupvit/modeling_tf_groupvit.py/TFGroupViTTextEncoder/__init__
class TFGroupViTTextEncoder:    def __init__(self, config: GroupViTTextConfig, **kwargs):
        super().__init__(**kwargs)

        self.layers = [TFGroupViTEncoderLayer(config, name=f"layers_._{i}") for i in range(config.num_hidden_layers)]