src/transformers/models/vit/modeling_tf_vit.py/TFViTEncoder/__init__
class TFViTEncoder:    def __init__(self, config: ViTConfig, **kwargs):
        super().__init__(**kwargs)

        self.layer = [TFViTLayer(config, name=f"layer_._{i}") for i in range(config.num_hidden_layers)]