Update ggml.h

This commit is contained in:
Hua Jiang 2023-09-21 18:41:37 -07:00 committed by GitHub
parent 2534c587a9
commit ebf6d5f126
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

2
ggml.h
View file

@ -468,7 +468,7 @@ extern "C" {
int64_t ne[GGML_MAX_DIMS]; // number of elements
size_t nb[GGML_MAX_DIMS]; // stride in bytes:
// nb[0] = ggml_type_size(type)
// nb[1] = nb[0] * (ne[0]/ggml_blck_size(type)) + padding
// nb[1] = nb[0] * (ne[0] / ggml_blck_size(type)) + padding
// nb[i] = nb[i-1] * ne[i-1]
// compute data