| auto_device | R Documentation |
Resolves the device parameter of a learner.
"auto" becomes "cuda" when a CUDA device is available and "cpu" otherwise; any other value
is returned unchanged, except that an explicit "cuda" (or "cuda:<index>") without an available
CUDA device with that index is an error rather than a failure deep inside libtorch later on.
auto_device(device = NULL)
device |
( |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.