def clear(self):
        super(GroupedRequirements, self).clear()
        self.create_default_groups()
def tearDown(self):
        if hasattr(self, "rng_state"):
            torch.set_rng_state(self.rng_state)