def clear(self):
        super(GroupedRequirements, self).clear()
        self.create_default_groups()
def linear_1d(module, grad_input, grad_output):
    """No change made to gradients."""
    return None