Learn R Programming

ggmlR (version 0.6.1)

ggml_set_i32_nd: Set Single Int32 Value by N-D Index

Description

Sets a single i32 value in the tensor at position [i0, i1, i2, i3].

Usage

ggml_set_i32_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

Integer value to set