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

gnn_affine.h File Reference

#include "gnn_node.h"

Include dependency graph for gnn_affine.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Data Structures

struct  _gnn_affine

Typedefs

typedef _gnn_affine gnn_affine
 The structure for a gnn_affine : Affine Activation Function. node.


Functions

gnn_nodegnn_affine_new (int input_size, double a, double b)
 Creates an Affine Activation Function node.

gnn_nodegnn_affine_standard_new (int input_size)
 Creates a standard Affine Activation Function node.


Function Documentation

gnn_node* gnn_affine_new int    input_size,
double    a,
double    b
 

This function creates a node of the gnn_affine type. Although the parameters and , are all equal initially, they change during training.

Parameters:
input_size  The input size .
a  The (amplitude) factors.
v  The biases .
Returns:
A pointer to a new gnn_divergence : Input Divergence. node.

Definition at line 235 of file gnn_affine.c.

gnn_node* gnn_affine_standard_new int    input_size
 

This function creates a node of the gnn_affine type. The parameters are initialized with amplitudes and biases .

Parameters:
input_size  The input size .
Returns:
A pointer to a new gnn_tanh node.

Definition at line 340 of file gnn_affine.c.


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