We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 883e07a commit 7b99865Copy full SHA for 7b99865
examples/embedding/embedding.cpp
@@ -85,12 +85,12 @@ static void print_raw_embeddings(const float * emb,
85
for (int j = 0; j < n_embd_count; ++j) {
86
for (int i = 0; i < cols; ++i) {
87
if (embd_normalize == 0) {
88
- printf("%1.0f%s", emb[j * n_embd + i], (i + 1 < cols ? " " : ""));
+ LOG("%1.0f%s", emb[j * n_embd + i], (i + 1 < cols ? " " : ""));
89
} else {
90
- printf("%1.7f%s", emb[j * n_embd + i], (i + 1 < cols ? " " : ""));
+ LOG("%1.7f%s", emb[j * n_embd + i], (i + 1 < cols ? " " : ""));
91
}
92
93
- printf("\n");
+ LOG("\n");
94
95
96
0 commit comments