use 6 characters for tensor dims
This commit is contained in:
parent
e6b790f470
commit
0d22288f00
|
|
@ -111,7 +111,7 @@ std::string llama_format_tensor_shape(const struct ggml_tensor * t) {
|
|||
char buf[256];
|
||||
snprintf(buf, sizeof(buf), "%5" PRId64, t->ne[0]);
|
||||
for (int i = 1; i < GGML_MAX_DIMS; i++) {
|
||||
snprintf(buf + strlen(buf), sizeof(buf) - strlen(buf), ", %5" PRId64, t->ne[i]);
|
||||
snprintf(buf + strlen(buf), sizeof(buf) - strlen(buf), ", %6" PRId64, t->ne[i]);
|
||||
}
|
||||
return buf;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue