This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version.
#include "utilities.h"
#include <math.h>
Go to the source code of this file.
Namespaces | |
namespace | aureservoir |
tanh2 activation functions | |
DEVector< double >::Type | aureservoir::tanh2_a_ |
DEVector< double >::Type | aureservoir::tanh2_b_ |
template<typename T> | |
void | aureservoir::act_tanh2 (T *data, int size) |
template<typename T> | |
void | aureservoir::act_invtanh2 (T *data, int size) |
Enumerations | |
enum | aureservoir::ActivationFunction { aureservoir::ACT_LINEAR, aureservoir::ACT_TANH, aureservoir::ACT_TANH2, aureservoir::ACT_SIGMOID } |
Functions | |
linear activation functions | |
template<typename T> | |
void | aureservoir::act_linear (T *data, int size) |
template<typename T> | |
void | aureservoir::act_invlinear (T *data, int size) |
tanh activation functions | |
template<typename T> | |
void | aureservoir::act_tanh (T *data, int size) |
template<typename T> | |
void | aureservoir::act_invtanh (T *data, int size) |
sigmoid activation functions | |
template<typename T> | |
void | aureservoir::act_sigmoid (T *data, int size) |
template<typename T> | |
void | aureservoir::act_invsigmoid (T *data, int size) |