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

gnn_serial.c File Reference

#include <stdarg.h>
#include "gnn_serial.h"

Include dependency graph for gnn_serial.c:

Include dependency graph

Go to the source code of this file.

Data Structures

struct  _gnn_serial
 gnn_serial : Serial Constructor for Function Composition. structure. More...

struct  _stack_buf
 Internal buffer structure. More...


Typedefs

typedef _stack_buf stack_buffer
 Internal buffer structure.

typedef _gnn_serial gnn_serial
 gnn_serial : Serial Constructor for Function Composition. structure.


Functions

int stack_buffer_init (stack_buffer *sb, size_t size)
 Initializes a stack buffer.

int stack_buffer_clear (stack_buffer *sb)
 Clears a stack buffer.

int stack_buffer_finalize (stack_buffer *sb)
 Finalizes a stack buffer.

int gnn_serial_make_buffers (gnn_node *node)
 Builds the buffers for a given gnn_serial : Serial Constructor for Function Composition. node.

int gnn_serial_destroy_buffers (gnn_node *node)
 Destroys a gnn_serial : Serial Constructor for Function Composition. node's stack buffers.

int gnn_serial_f (gnn_node *node, const gsl_vector *x, const gsl_vector *w, gsl_vector *y)
 Evaluate a stack node.

int gnn_serial_dx (gnn_node *node, const gsl_vector *x, const gsl_vector *w, const gsl_vector *dy, gsl_vector *dx)
 Computes for the doc.

int gnn_serial_dw (gnn_node *node, const gsl_vector *x, const gsl_vector *w, const gsl_vector *dy, gsl_vector *dw)
 Computes for the node.

void gnn_serial_destroy (gnn_node *node)
 gnn_serial : Serial Constructor for Function Composition. destructor.

gnn_nodegnn_serial_new (int size,...)
 Build a node stack.

gnn_nodegnn_serial_new_with_node_vector (gnn_node_vector *v)
 Build a node stack with a given node vector.

gnn_nodegnn_serial_get_node (gnn_node *node, int i)
 Get the i-th subnode.

int gnn_serial_get_size (gnn_node *node)
 Gets the number of nodes that the stack is build of.


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