nb property
stride in bytes:
nb0
= ggml_type_size(type)
nb1
= nb0
* (ne0
/ ggml_blck_size(type)) + padding
nbi
= nbi-1
* nei-1
Implementation
@ffi.Array.multi([4])
external ffi.Array<ffi.Size> nb;
stride in bytes:
nb0
= ggml_type_size(type)
nb1
= nb0
* (ne0
/ ggml_blck_size(type)) + padding
nbi
= nbi-1
* nei-1
@ffi.Array.multi([4])
external ffi.Array<ffi.Size> nb;