Learn R Programming

ggmlR (version 0.6.1)

ggml_backend_tensor_get_and_sync: Backend Tensor Get and Sync

Description

Gets tensor data from a backend with synchronization.

Usage

ggml_backend_tensor_get_and_sync(backend, tensor, offset = 0, size)

Value

Raw vector with tensor data

Arguments

backend

Backend pointer (or NULL for CPU)

tensor

Tensor pointer

offset

Byte offset (default 0)

size

Number of bytes to read