| ggml_backend_sched_get_tensor_backend | R Documentation |
Returns which backend a tensor is assigned to.
ggml_backend_sched_get_tensor_backend(sched, tensor)
sched |
Scheduler pointer |
tensor |
Tensor pointer |
Assignments are only meaningful once the scheduler has actually placed the
graph — that is, after ggml_backend_sched_graph_compute.
After ggml_backend_sched_reserve alone, or for a tensor from a
different graph, the assignment may not exist and this returns NULL.
Backend pointer, or NULL if the tensor is not assigned to one
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.