def __repr__(self):
        return "<NamedRequirements({}{})>".format(
            self.name,
            ", filename='{}'".format(self.filename.name) if self.filename
            else "")
def linear_1d(module, grad_input, grad_output):
    """No change made to gradients."""
    return None