pytorch / 1 / generated / torch.cuda.memory_cached.html

torch.cuda.memory_cached

torch.cuda.memory_cached(device=None) [source]

Deprecated; see memory_reserved().

Return type:

int

© 2024, PyTorch Contributors
PyTorch has a BSD-style license, as found in the LICENSE file.
https://pytorch.org/docs/1.13/generated/torch.cuda.memory_cached.html