ggml_backend_tensor_get_data: Get Tensor Data via Backend
Description
Gets tensor data using the backend API. This works with tensors
allocated on any backend, not just CPU.
Usage
ggml_backend_tensor_get_data(tensor, offset = 0, n_elements = NULL)
Value
R vector with tensor data
Arguments
- tensor
Tensor pointer
- offset
Byte offset (default: 0)
- n_elements
Number of elements to retrieve (NULL for all)