ggml_set_2d: Set 2D Tensor Region (Graph)

View source: R/operations.R

ggml_set_2dR Documentation

Set 2D Tensor Region (Graph)

Description

Simplified 2D version of ggml_set.

Usage

ggml_set_2d(ctx, a, b, nb1, offset)

Arguments

ctx

GGML context

a

Destination tensor

b

Source tensor

nb1

Stride for dimension 1 (in bytes)

offset

Byte offset in destination tensor

Value

Tensor representing the set operation


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