def update(self, present_kvs: list[OrtValue]):
        """Update the cache with the present key-value tensors.

        :param present_kvs: List of present key-value tensors as OrtValue.
        """
        for k, ort_value in zip(self.past_names, present_kvs):
            self.cache[k] = ort_value
Update the cache with the present key-value tensors.

        :param present_kvs: List of present key-value tensors as OrtValue.
        
examples/utils/kv_cache_utils.py