src/transformers/models/layoutlm/modeling_layoutlm.py/LayoutLMForMaskedLM/__init__
class LayoutLMForMaskedLM:    def __init__(self, config):
        super().__init__(config)

        self.layoutlm = LayoutLMModel(config)
        self.cls = LayoutLMOnlyMLMHead(config)

        # Initialize weights and apply final processing
        self.post_init()