-
Notifications
You must be signed in to change notification settings - Fork 98
Open
Labels
enhancementNew feature or requestNew feature or request
Description
Tanh uses a lot of compute (hence "fast tanh"). But this e.g.:
NeuralAmpModelerCore/NAM/activations.h
Lines 75 to 81 in 8469687
| void apply(float* data, long size) override | |
| { | |
| for (long pos = 0; pos < size; pos++) | |
| { | |
| data[pos] = std::tanh(data[pos]); | |
| } | |
| } |
should be able to be implemented more idiomatically with Eigen.
It would also be nice for any change related to this Issue have some profiling results attached since this is a performance Issue.
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request