| ag_to_device | R Documentation |
Copies an ag_tensor to the target device, returning a new tensor.
The original tensor is not modified.
ag_to_device(tensor, device)
tensor |
An |
device |
|
A new ag_tensor on the target device (or the original if
already on the target device)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.