Changeset 8f99431
- Timestamp:
- Dec 29, 2021, 5:51:57 PM (3 years ago)
- Branches:
- feature/crepe
- Children:
- 387a5b1
- Parents:
- 72d4e42
- git-author:
- Paul Brossier <piem@piem.org> (01/10/19 19:12:03)
- git-committer:
- Paul Brossier <piem@piem.org> (12/29/21 17:51:57)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/ai/dense.c
r72d4e42 r8f99431 107 107 // add bias 108 108 fvec_vecadd(&output_vec, c->bias); 109 110 // compute sigmoid111 uint_t i;112 for (i = 0; i < output_vec.length; i++) {113 output_vec.data[i] = 1. / (1. + EXP( - output_vec.data[i] ));114 }115 109 }
Note: See TracChangeset
for help on using the changeset viewer.