def reset_cache(self): self.cache_k, self.cache_v = None, None