cuda_memory_snapshot | R Documentation |
Saves a snapshot of the CUDA memory state at the time it was called. The resulting binary output is in pickle format and can be visualized using the interactive snapshot viewer available at pytorch.org/memory_viz.
cuda_memory_snapshot()
Raw binary data representing the snapshot in pickle format.
if (torch_is_installed()) {
## Not run:
snapshot <- cuda_memory_snapshot()
## End(Not run)
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.