from mmdet.models.backbones import ResNet
from mmocr.registry import MODELS


@MODELS.register_module()
class DummyResNet(ResNet):
    """Implements a dummy ResNet wrapper for demonstration purpose.

    Args:
        **kwargs: All the arguments are passed to the parent class.
    """

    def __init__(self, **kwargs) ->None:
        print('Hello world!')
        super().__init__(**kwargs)

8d1576ba3b21c5502688f71f5e23024c294034c7
<mask token>


@MODELS.register_module()
class DummyResNet(ResNet):
    <mask token>
    <mask token>

<mask token>


@MODELS.register_module()
class DummyResNet(ResNet):
    <mask token>

    def __init__(self, **kwargs) ->None:
        print('Hello world!')
        super().__init__(**kwargs)

<mask token>


@MODELS.register_module()
class DummyResNet(ResNet):
    """Implements a dummy ResNet wrapper for demonstration purpose.

    Args:
        **kwargs: All the arguments are passed to the parent class.
    """

    def __init__(self, **kwargs) ->None:
        print('Hello world!')
        super().__init__(**kwargs)

from mmdet.models.backbones import ResNet
from mmocr.registry import MODELS


@MODELS.register_module()
class DummyResNet(ResNet):
    """Implements a dummy ResNet wrapper for demonstration purpose.

    Args:
        **kwargs: All the arguments are passed to the parent class.
    """

    def __init__(self, **kwargs) ->None:
        print('Hello world!')
        super().__init__(**kwargs)
