Learn R Programming

torch (version 0.14.2)

cuda_empty_cache: Empty cache

Description

Releases all unoccupied cached memory currently held by the caching allocator so that those can be used in other GPU application and visible in nvidia-smi.

Usage

cuda_empty_cache()

Arguments