src/transformers/models/segformer/modeling_tf_segformer.py/TFSegformerModel/__init__
class TFSegformerModel:    def __init__(self, config: SegformerConfig, *inputs, **kwargs):
        super().__init__(config, *inputs, **kwargs)
        self.config = config

        # hierarchical Transformer encoder
        self.segformer = TFSegformerMainLayer(config, name="segformer")