MCPcopy Create free account
hub / github.com/antirez/ds4 / weights_first_bound_layer

Function weights_first_bound_layer

ds4.c:3535–3541  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3533 float sumf = 0.0f;
3534
3535 for (int i = 0; i < nb; i++) {
3536 const float d = y[i].d * f16_to_f32(x[i].d);
3537 const float dm = -y[i].d * f16_to_f32(x[i].dmin);
3538
3539 const uint8_t *qs = x[i].qs;
3540 const uint8_t *sc = x[i].scales;
3541 const int8_t *q8 = y[i].qs;
3542
3543 int32_t summs = 0;
3544 for (int j = 0; j < QK_K / 32; j++) {

Callers 1

ds4_session_createFunction · 0.85

Calls 1

Tested by

no test coverage detected