Changeset 8f99431


Ignore:
Timestamp:
Dec 29, 2021, 5:51:57 PM (3 weeks ago)
Author:
Paul Brossier <piem@piem.org>
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)
Message:

[dense] remove activation function

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/ai/dense.c

    r72d4e42 r8f99431  
    107107  // add bias
    108108  fvec_vecadd(&output_vec, c->bias);
    109 
    110   // compute sigmoid
    111   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   }
    115109}
Note: See TracChangeset for help on using the changeset viewer.