src/transformers/models/bert/modeling_tf_bert.py/TFBertEncoder/__init__
class TFBertEncoder:    def __init__(self, config: BertConfig, **kwargs):
        super().__init__(**kwargs)

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