mlx.core.clear_cache

目录

mlx.core.clear_cache#

clear_cache() None#

清除内存缓存。

调用此函数后,get_cache_memory() 应返回 0