ggml_get_f32_nd: Get Single Float Value by N-D Index
Description
Gets a single f32 value from the tensor at position [i0, i1, i2, i3].
Works with any tensor type (auto-converts to float).
Usage
ggml_get_f32_nd(tensor, i0, i1 = 0, i2 = 0, i3 = 0)
Arguments
- tensor
Tensor pointer
- i0, i1, i2, i3
Indices (0-based)