#include <math.h>#include <gsl/gsl_blas.h>#include <gsl/gsl_randist.h>#include <gsl/gsl_eigen.h>#include "gnn_utilities.h"#include "gnn_weight.h"Include dependency graph for gnn_weight.c:

Go to the source code of this file.
Data Structures | |
| struct | _gnn_weight |
Typedefs | |
| typedef _gnn_weight | gnn_weight |
| The structure for a gnn_weight : Affine / Linear Transform node. | |
Functions | |
| int | gnn_weight_f (gnn_node *node, const gsl_vector *x, const gsl_vector *w, gsl_vector *y) |
| Computes the evaluation. | |
| int | gnn_weight_dx (gnn_node *node, const gsl_vector *x, const gsl_vector *w, const gsl_vector *dy, gsl_vector *dx) |
| Computes the gnn_weight : Affine / Linear Transform gradient with respect to its inputs. | |
| int | gnn_weight_dw (gnn_node *node, const gsl_vector *x, const gsl_vector *w, const gsl_vector *dy, gsl_vector *dw) |
| Computes the gnn_weight : Affine / Linear Transform gradient with respect to its parameters. | |
| void | gnn_weight_destroy (gnn_node *node) |
| The destroy function for a gnn_weight : Affine / Linear Transform. | |
| int | gnn_weight_hadamard_recurse (gsl_matrix *A, double fact) |
| gnn_node * | gnn_weight_new (int input_size, int output_size) |
| Creates a new gnn_weight : Affine / Linear Transform layer. | |
| int | gnn_weight_init (gnn_node *node) |
| Initializes the layer's parameters. | |
| gsl_matrix * | gnn_weight_get_A (gnn_node *node) |
Gets the node's parameter matrix
. | |
| gsl_vector * | gnn_weight_get_B (gnn_node *node) |
Gets the node's parameter vector
. | |
| gsl_matrix * | gnn_weight_get_dA (gnn_node *node) |
Gets
. | |
| gsl_vector * | gnn_weight_get_dB (gnn_node *node) |
Gets
. | |
| gsl_matrix_int * | gnn_weight_get_Af (gnn_node *node) |
Gets the frozen flags for the matrix
. | |
| gsl_vector_int * | gnn_weight_get_Bf (gnn_node *node) |
Gets the frozen flags for the vector
. | |
| int | gnn_weight_connect (gnn_node *node, size_t i, size_t j, double strength) |
| Connect an input with an output. | |
| int | gnn_weight_disconnect (gnn_node *node, size_t i, size_t j) |
| Disconnect an input with an output. | |
| int | gnn_weight_connect_all (gnn_node *node, double strength) |
| Creates a full connection. | |
| int | gnn_weight_disconnect_all (gnn_node *node) |
| Disconnect all connections. | |
| int | gnn_weight_connect_input (gnn_node *node, size_t i, double strength) |
| Connects the i-th input to all outputs with given strength. | |
| int | gnn_weight_disconnect_input (gnn_node *node, size_t i) |
| Disconnect the i-th input from all outputs. | |
| int | gnn_weight_freeze_connection (gnn_node *node, size_t i, size_t j) |
| Freeze a connection. | |
| int | gnn_weight_unfreeze_connection (gnn_node *node, size_t i, size_t j) |
| Unfreeze a connection. | |
| int | gnn_weight_freeze_all_connections (gnn_node *node) |
| Freeze all connections. | |
| int | gnn_weight_unfreeze_all_connections (gnn_node *node) |
| Unfreeze all connections. | |
| int | gnn_weight_connect_bias (gnn_node *node, size_t j, double strength) |
| Connects a bias. | |
| int | gnn_weight_disconnect_bias (gnn_node *node, size_t j) |
| Disconnects a bias. | |
| int | gnn_weight_connect_all_bias (gnn_node *node, double strength) |
| Connects all biases. | |
| int | gnn_weight_disconnect_all_bias (gnn_node *node) |
| Disconnects all biases. | |
| int | gnn_weight_freeze_bias (gnn_node *node, size_t j) |
| Freeze a bias. | |
| int | gnn_weight_unfreeze_bias (gnn_node *node, size_t j) |
| Unfreeze a bias. | |
| int | gnn_weight_freeze_all_biases (gnn_node *node) |
| Freeze all biases. | |
| int | gnn_weight_unfreeze_all_biases (gnn_node *node) |
| Unfreeze all biases. | |
|
||||||||||||
|
|
1.2.18