src/transformers/models/longformer/modeling_tf_longformer.py/TFLongformerForSequenceClassification/__init__
class TFLongformerForSequenceClassification:    def __init__(self, config, *inputs, **kwargs):
        super().__init__(config, *inputs, **kwargs)

        self.num_labels = config.num_labels

        self.longformer = TFLongformerMainLayer(config, add_pooling_layer=False, name="longformer")
        self.classifier = TFLongformerClassificationHead(config, name="classifier")