Cache
- nvcv.cache_size(scope: nvcv.ThreadScope = <ThreadScope.GLOBAL: 0>) int
Returns the quantity of items in the NVCV Python cache
- Parameters:
scope (nvcv.ThreadScope) – Thread scope that must be either
nvcv.ThreadScope.GLOBAL
ornvcv.ThreadScope.LOCAL
.
- nvcv.clear_cache(scope: nvcv.ThreadScope = <ThreadScope.GLOBAL: 0>) None
Clears the NVCV Python cache
- Parameters:
scope (nvcv.ThreadScope) – Thread scope that must be either
nvcv.ThreadScope.GLOBAL
ornvcv.ThreadScope.LOCAL
.
- nvcv.current_cache_size_inbytes() int
Returns the current cache size [in bytes]
- nvcv.get_cache_limit_inbytes() int
Returns the current cache limit [in bytes]
- nvcv.set_cache_limit_inbytes(arg0: int) None
Sets the current cache limit [in bytes]