caching
Description
Base classes and implementations of cache handles.
The common base class is Cache
.
Cache types provided:
- :py:class:`DictCache`: An in-memory cache
- :py:class:`FileCache`: Base class for file system caches
- Combined caches:
CacheCascade
: A chain map for caches with different sync modes
CacheTuple
: Have each entry of a tuple handled by a separate cache, but with shared descriptor key
Classes
Caching base handle. |
|
Combine several caches by trying to load from first to last. |
|
Cache the values of dicts using different caches. |
|
Cache the values of tuples using different caches. |
|
Cache objects in a (multiprocessing capable) dictionary in memory. |
|
Base class to cache objects as files under a cache folder. |
|
Cache for JPEG images using |
|
File cache that uses numpy saving and loading mechanism to cache |
|
File cache that uses numpy compressed saving and loading mechanism to cache |
|
Dummy cache that has no effect. |
|
File cache that uses torch saving and loading mechanism. |
|
In-memory cache specifically for torch tensors. |