src/transformers/models/mobilebert/modeling_tf_mobilebert.py/TFMobileBertEncoder/__init__
class TFMobileBertEncoder:    def __init__(self, config, **kwargs):
        super().__init__(**kwargs)
        self.output_attentions = config.output_attentions
        self.output_hidden_states = config.output_hidden_states
        self.layer = [TFMobileBertLayer(config, name=f"layer_._{i}") for i in range(config.num_hidden_layers)]