ggml_set_1d: Set 1D Tensor Region (Graph)

View source: R/operations.R

ggml_set_1dR Documentation

Set 1D Tensor Region (Graph)

Description

Simplified 1D version of ggml_set. Copies tensor b into tensor a starting at offset.

Usage

ggml_set_1d(ctx, a, b, offset)

Arguments

ctx

GGML context

a

Destination tensor

b

Source tensor

offset

Byte offset in destination tensor

Value

Tensor representing the set operation


ggmlR documentation built on July 14, 2026, 1:08 a.m.