def METHOD_NAME(filter_type, framework):
    """Register all transform subclasses.
    Args:
        filter_type (str): fILTER registration name.
        framework (str): support 4 framework including 'tensorflow', 'pytorch', 'mxnet', 'onnxrt'.
        cls (class): The class of register.
    Returns:
        cls: The class of register.
    """
    def decorator_transform(cls):
        """Decorate a class."""
        for single_framework in [fwk.strip() for fwk in framework.split(",")]:
            assert single_framework in [
                "tensorflow",
                "tensorflow_itex",
                "pytorch",
                "pytorch_ipex",
                "pytorch_fx",
                "mxnet",
                "onnxrt_integerops",
                "onnxrt_qdq",
                "onnxrt_qlinearops",
                "onnxruntime",
            ], "The framework support tensorflow mxnet pytorch onnxrt"
            if filter_type in registry_filters[single_framework].keys():
                raise ValueError("Cannot have two transforms with the same name")
            registry_filters[single_framework][filter_type] = cls
        return cls
    return decorator_transform