# tensorplay.cuda.max_memory_cached

Source: https://www.tensorplay.cn/docs/generated/tensorplay.cuda.max_memory_cached.html

# tensorplay.cuda.max_memory_cached

tensorplay.cuda.max_memory_cached(device: [Any](https://docs.python.org/3/library/typing.html#typing.Any) | [None](https://docs.python.org/3/library/constants.html#None) = None) &#x2192; [int](https://docs.python.org/3/library/functions.html#int)[[source]](../_modules/tensorplay/cuda/memory.html#max_memory_cached)

Deprecated; see [max_memory_reserved()](tensorplay.cuda.max_memory_reserved.html#tensorplay.cuda.max_memory_reserved).
