Set the cache. Args: cache: The cache to set.
(self, cache: Optional[BaseLlamaCache])
| 631 | ) |
| 632 | |
| 633 | def set_cache(self, cache: Optional[BaseLlamaCache]): |
| 634 | """Set the cache. |
| 635 | |
| 636 | Args: |
| 637 | cache: The cache to set. |
| 638 | """ |
| 639 | self.cache = cache |
| 640 | |
| 641 | def set_seed(self, seed: int): |
| 642 | """Set the random seed. |
no outgoing calls