ggml_backend_sched_reset method
Reset all assignments and allocators - must be called before changing the node backends or allocating a new graph. This in effect deallocates all tensors that were previously allocated and leaves them with dangling pointers. The correct way to use this API is to discard the deallocated tensors and create new ones.
Implementation
void ggml_backend_sched_reset(
ggml_backend_sched_t sched,
) {
return _ggml_backend_sched_reset(
sched,
);
}