src/transformers/models/layoutlm/modeling_tf_layoutlm.py/TFLayoutLMEncoder/__init__
class TFLayoutLMEncoder:    def __init__(self, config: LayoutLMConfig, **kwargs):
        super().__init__(**kwargs)
        self.config = config
        self.layer = [TFLayoutLMLayer(config, name=f"layer_._{i}") for i in range(config.num_hidden_layers)]