def is_norm(modules):
        """Check if is one of the norms."""
        if isinstance(modules, (GroupNorm, _BatchNorm)):
            return True
        return False
Check if is one of the norms.
mmpose/tests/test_models/test_backbones/test_mobilenet_v2.py