Learn R Programming

ggmlR (version 0.6.1)

ggml_backend_alloc_ctx_tensors: Allocate Context Tensors to Backend

Description

Allocates all tensors in a GGML context to a specific backend. Returns a buffer that must be freed when no longer needed.

Usage

ggml_backend_alloc_ctx_tensors(ctx, backend)

Value

Backend buffer object

Arguments

ctx

GGML context

backend

Backend handle