#include "gnn_tanh.h"#include <math.h>Include dependency graph for gnn_tanh.c:

Go to the source code of this file.
Data Structures | |
| struct | _gnn_tanh |
Defines | |
| #define | GNN_TANH_A(node) (((gnn_tanh *)(node))->a) |
| #define | GNN_TANH_B(node) (((gnn_tanh *)(node))->b) |
Typedefs | |
| typedef _gnn_tanh | gnn_tanh |
Functions | |
| int | gnn_tanh_f (gnn_node *node, const gsl_vector *x, const gsl_vector *w, gsl_vector *y) |
| Computes the output. | |
| int | gnn_tanh_dx (gnn_node *node, const gsl_vector *x, const gsl_vector *w, const gsl_vector *dy, gsl_vector *dx) |
Computes
. | |
| gnn_node * | gnn_tanh_new (int input_size, double a, double b) |
| Creates a Hyperbolic Tangent Activation Function node. | |
| gnn_node * | gnn_tanh_standard_new (int input_size) |
| Creates a standard Hyperbolic Tangent function node. | |
| gnn_node * | gnn_tanh_enhanced_new (int input_size) |
| Creates a Hyperbolic Tangent function node. | |
| double | gnn_tanh_get_a (gnn_node *node) |
Returns the amplitude constant
. | |
| void | gnn_tanh_set_a (gnn_node *node, double a) |
Sets the amplitude constant
. | |
| double | gnn_tanh_get_b (gnn_node *node) |
Gets the streching factor
. | |
| void | gnn_tanh_set_b (gnn_node *node, double b) |
Sets the streching factor
. | |
|
|
Definition at line 55 of file gnn_tanh.c. |
|
|
Definition at line 56 of file gnn_tanh.c. |
|
|
|
1.2.18