ggml : add helper debug printf in soft_max

pull/1015/merge master-11d9023
Georgi Gerganov 1 year ago
parent 7296c961d9
commit 11d902364b
No known key found for this signature in database
GPG Key ID: 449E073F9DC10735

@ -9257,6 +9257,7 @@ static void ggml_compute_forward_soft_max_f32(
uint16_t scvt;
for (int i = 0; i < nc; i++) {
//printf("p[%3d] = %8.4f\n", i, p[i]);
if (p[i] == -INFINITY) {
p[i] = 0.0f;
} else {

Loading…
Cancel
Save