| ag_device | R Documentation |
Switches all subsequent ag_tensor / ag_param operations to run
on the specified device. Calling ag_device("gpu") initialises the
best available ggml backend (Vulkan, Metal, CUDA, or CPU fallback) the first
time it is called.
ag_device(device)
device |
|
Invisibly the previous device string
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.