mirror of
https://github.com/mikeoliphant/neural-amp-modeler-lv2.git
synced 2026-05-07 04:00:09 +02:00
Re-enable fast tanh approximation
This commit is contained in:
@@ -3,6 +3,7 @@ set(SOURCES nam_lv2.cpp
|
||||
nam_plugin.h)
|
||||
|
||||
set(NAM_SOURCES ../deps/NeuralAmpModelerCore/NAM/activations.h
|
||||
../deps/NeuralAmpModelerCore/NAM/activations.cpp
|
||||
../deps/NeuralAmpModelerCore/NAM/version.h
|
||||
../deps/NeuralAmpModelerCore/NAM/lstm.h
|
||||
../deps/NeuralAmpModelerCore/NAM/lstm.cpp
|
||||
|
||||
@@ -3,10 +3,13 @@
|
||||
#include <utility>
|
||||
|
||||
#include "nam_plugin.h"
|
||||
#include "activations.h"
|
||||
|
||||
namespace NAM {
|
||||
Plugin::Plugin()
|
||||
{
|
||||
// Turn on fast tanh approximation
|
||||
activations::Activation::enable_fast_tanh();
|
||||
}
|
||||
|
||||
bool Plugin::initialize(double rate, const LV2_Feature* const* features) noexcept
|
||||
|
||||
Reference in New Issue
Block a user