Learn R Programming

ggmlR (version 0.6.1)

ggml_set_f32_nd: Set Single Float Value by N-D Index

Description

Sets a single f32 value in the tensor at position [i0, i1, i2, i3]. This is a direct data write, not a graph operation.

Usage

ggml_set_f32_nd(tensor, i0, i1 = 0, i2 = 0, i3 = 0, value)

Value

NULL (invisible)

Arguments

tensor

Tensor pointer

i0, i1, i2, i3

Indices (0-based)

value

Float value to set