Changeset f392b88 for src/ai


Ignore:
Timestamp:
Jan 10, 2019, 7:11:28 PM (6 years ago)
Author:
Paul Brossier <piem@piem.org>
Branches:
feature/crepe_org
Children:
5154024
Parents:
977a5c3
Message:

[conv1d] remove activation function

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/ai/conv1d.c

    r977a5c3 rf392b88  
    264264      // apply bias
    265265      acc += bias;
    266       // compute RELU
    267       activations->data[j][i] = MAX(acc, 0);
    268266    }
    269267  }
     
    316314    for (i = 0; i < activations->shape[1]; i++) {
    317315      activations->data[j][i] += c->bias->data[i];
    318       activations->data[j][i] = MAX(activations->data[j][i], 0);
    319316    }
    320317  }
Note: See TracChangeset for help on using the changeset viewer.