Changeset 5154024
- Timestamp:
- Jan 10, 2019, 7:12:03 PM (6 years ago)
- Branches:
- feature/crepe_org
- Children:
- 1bba23e
- Parents:
- f392b88
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/ai/dense.c
rf392b88 r5154024 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.