| ggml_backend_tensor_get_data | R Documentation |
Gets tensor data using the backend API. This works with tensors allocated on any backend, not just CPU.
ggml_backend_tensor_get_data(tensor, offset = 0, n_elements = NULL)
tensor |
Tensor pointer |
offset |
Byte offset (default: 0) |
n_elements |
Number of elements to retrieve (NULL for all) |
R vector with tensor data
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.