Skip to content

Commit 9af4b9e

Browse files
committed
minor mprovements to dot file formatting
1 parent 52151b6 commit 9af4b9e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ggml.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12161,7 +12161,7 @@ void ggml_graph_dump_dot(const struct ggml_cgraph * gb, const struct ggml_cgraph
1216112161
(void *) node, color);
1216212162

1216312163
if (strlen(node->name) > 0) {
12164-
fprintf(fp, "%s |", node->name);
12164+
fprintf(fp, "%s | ", node->name);
1216512165
}
1216612166
if (ggml_nelements(node) == 1) {
1216712167
if (node->type == GGML_TYPE_I8 || node->type == GGML_TYPE_I16 || node->type == GGML_TYPE_I32) {
@@ -12172,7 +12172,7 @@ void ggml_graph_dump_dot(const struct ggml_cgraph * gb, const struct ggml_cgraph
1217212172
}
1217312173
}
1217412174
else {
12175-
fprintf(fp, "CONST %d [%" PRId64 ", %" PRId64 "]\n", i, node->ne[0], node->ne[1]);
12175+
fprintf(fp, "CONST %d [%" PRId64 ", %" PRId64 "]", i, node->ne[0], node->ne[1]);
1217612176
}
1217712177
fprintf(fp, "\"; ]\n");
1217812178
}

0 commit comments

Comments
 (0)