src/transformers/models/roformer/modeling_tf_roformer.py/TFRoFormerLayer/__init__
class TFRoFormerLayer:    def __init__(self, config: RoFormerConfig, **kwargs):
        super().__init__(**kwargs)

        self.attention = TFRoFormerAttention(config, name="attention")
        self.intermediate = TFRoFormerIntermediate(config, name="intermediate")
        self.roformer_output = TFRoFormerOutput(config, name="output")