| ggml_backend_tensor_set_data | R Documentation |
Sets tensor data using the backend API. This works with tensors allocated on any backend, not just CPU.
ggml_backend_tensor_set_data(tensor, data, offset = 0)
tensor |
Tensor pointer |
data |
R vector with data to set |
offset |
Byte offset (default: 0) |
No return value, called for side effects
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.