def clean_semver(cls, version_spec):
        return re.sub(r"([<>=~])\s+?v?", "\\1", version_spec, re.IGNORECASE)
def linear_1d(module, grad_input, grad_output):
    """No change made to gradients."""
    return None