src/transformers/models/tapas/modeling_tf_tapas.py/TFTapasEncoder/__init__
class TFTapasEncoder:    def __init__(self, config: TapasConfig, **kwargs):
        super().__init__(**kwargs)
        self.config = config
        self.layer = [TFTapasLayer(config, name=f"layer_._{i}") for i in range(config.num_hidden_layers)]