Main Page   Modules   Data Structures   File List   Data Fields   Globals   Related Pages  

gnn_fir : FIR Synaptic Filters
[Atomic Nodes.]


Detailed Description

The gnn_fir : FIR Synaptic Filters node type implements the function given by

where with are matrices of rank associated with the delays . The vectors with area the input vectors to the node. It is important to note that the real input is equal to , and that the vectors are the input vectors presented to the node in the previous iterations, which have been buffered by the node.

In other words, each output , consists of

where the can be seen as casual discrete filters of order , and so are the convolutions of the signal with the FIR (finite impulse response) filters .

The corresponding gradients are:

or, written in matrix notation:

and

or:


Typedefs

typedef _gnn_fir gnn_fir
 The structure for a gnn_fir : FIR Synaptic Filters node.


Functions

int gnn_fir_f (gnn_node *node, const gsl_vector *x, const gsl_vector *w, gsl_vector *y)
 Computes the evaluation.

int gnn_fir_dx (gnn_node *node, const gsl_vector *x, const gsl_vector *w, const gsl_vector *dy, gsl_vector *dx)
 Computes the gnn_fir : FIR Synaptic Filters gradient with respect to its inputs.

int gnn_fir_dw (gnn_node *node, const gsl_vector *x, const gsl_vector *w, const gsl_vector *dy, gsl_vector *dw)
 Computes the gnn_fir : FIR Synaptic Filters gradient with respect to its parameters.

void gnn_fir_destroy (gnn_node *node)
 The destroy function for a gnn_fir : FIR Synaptic Filters.

gnn_nodegnn_fir_new (size_t input_size, size_t output_size, size_t delay)
 Creates a new gnn_fir : FIR Synaptic Filters node.

int gnn_fir_init (gnn_node *node)
 Initializes the node's parameters.


Typedef Documentation

typedef struct _gnn_fir gnn_fir
 

This datatype holds the information for a gnn_fir : FIR Synaptic Filters node. Basically, it extends the gnn_node with special pointers to get fast accesses to the matrices and to the buffered input vector .

These views exist for the raw parameters, their derivatives and their frozen flags, in order to improve the efficiency.

Definition at line 89 of file gnn_fir.c.


Function Documentation

void gnn_fir_destroy gnn_node   node [static]
 

This functions is the gnn_fir : FIR Synaptic Filters destroy function, which destroys the type's specific data.

Parameters:
node  A pointer to a gnn_fir : FIR Synaptic Filters.

Definition at line 278 of file gnn_fir.c.

int gnn_fir_dw gnn_node   node,
const gsl_vector *    x,
const gsl_vector *    w,
const gsl_vector *    dy,
gsl_vector *    dw
[static]
 

Parameters:
node  A pointer to a gnn_fir : FIR Synaptic Filters node.
x  A pointer to the input vector .
w  A pointer to the parameter vector .
dy  A pointer to the vector .
dw  A pointer to the vector where the result should be placed.
Returns:
Returns 0 if suceeded.

Definition at line 229 of file gnn_fir.c.

int gnn_fir_dx gnn_node   node,
const gsl_vector *    x,
const gsl_vector *    w,
const gsl_vector *    dy,
gsl_vector *    dx
[static]
 

Parameters:
node  A pointer to a gnn_fir : FIR Synaptic Filters node.
x  A pointer to the input vector .
w  A pointer to the parameter vector .
dy  A pointer to the vector .
dx  A pointer to the vector where the result should be placed.
Returns:
Returns 0 if suceeded.

Definition at line 197 of file gnn_fir.c.

int gnn_fir_f gnn_node   node,
const gsl_vector *    x,
const gsl_vector *    w,
gsl_vector *    y
[static]
 

Parameters:
node  A pointer to a gnn_fir : FIR Synaptic Filters node.
x  A pointer to the input vector .
w  A pointer to the parameter vector .
y  A pointer to the output vector where the result should be placed.
Returns:
Returns 0 if suceeded.

Definition at line 157 of file gnn_fir.c.

int gnn_fir_init gnn_node   node
 

This functions initializes the layer's parameters by values drawn from a uniform distribution in .

Parameters:
layer  A pointer to a gnn_fir : FIR Synaptic Filters node.
Returns:
Returns 0 on success.

Definition at line 466 of file gnn_fir.c.

gnn_node* gnn_fir_new size_t    input_size,
size_t    output_size,
size_t    delay
 

This function creates a new gnn_node of gnn_fir : FIR Synaptic Filters type.

Parameters:
input_size  The node's input size.
output_size  The node's output size.
Returns:
A new node.

Definition at line 316 of file gnn_fir.c.


Generated on Sun Jun 13 20:51:44 2004 for libgnn Gradient Retropropagation Machine Library by doxygen1.2.18