src/transformers/models/resnet/modeling_tf_resnet.py/TFResNetModel/__init__
class TFResNetModel:    def __init__(self, config: ResNetConfig, **kwargs) -> None:
        super().__init__(config, **kwargs)
        self.resnet = TFResNetMainLayer(config=config, name="resnet")