def get_fusion_pattern(pattern: _Tuple[_Any, _Any]) -> _Tuple[_Any, _Any]:
    """
    Swaps fusion pattern if torch version is >= 2.0.
    """
    if _is_torch_2():
        return pattern[1], pattern[0]
    else:
        return pattern

    Swaps fusion pattern if torch version is >= 2.0.
    
coremltools/optimize/torch/quantization/_backend_config_utils.py