def METHOD_NAME(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