Changes in src/fvec.c [f7bfc5d:630191c]
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/fvec.c
rf7bfc5d r630191c 99 99 } 100 100 101 void fvec_vecadd(fvec_t *s, const fvec_t *bias) {102 uint_t j;103 uint_t length = MIN(s->length, bias->length);104 for (j = 0; j < length; j++) {105 s->data[j] += bias->data[j];106 }107 }108 109 101 void fvec_weight(fvec_t *s, const fvec_t *weight) { 110 102 uint_t length = MIN(s->length, weight->length);
Note: See TracChangeset
for help on using the changeset viewer.