A gnn_memory_output : Memory Output Samples. can be build directly providing a matrix of the required size using the gnn_memory_output_new_from_matrix. Alternatively, it can be built just by indicating the number of outputs that it should be able to store, and their size.
Typedefs | |
| typedef _gnn_memory_output | gnn_memory_output |
| The datatype for memory outputs. | |
Functions | |
| int | gnn_memory_output_put (gnn_output *set, size_t k, const gsl_vector *v) |
| The "put" function for a memory output set. | |
| void | gnn_memory_output_destroy (gnn_output *set) |
| Destroy function. | |
| gnn_output * | gnn_memory_output_new (size_t size, size_t n) |
| Builds an output set for required sizes. | |
| gnn_output * | gnn_memory_output_new_from_matrix (gsl_matrix *m) |
| Builds an output set from a matrix. | |
| const gsl_matrix * | gnn_memory_output_get_matrix (gnn_output *set) |
| Returns the set's internal matrix. | |
| int | gnn_memory_output_save (gnn_output *set, const char *filename) |
| Saves the outputs to a file. | |
|
|
This is the datatype for memory outputs. It extends the basic gnn_output : Writing sets of vectors. structure to include the additional pointer to the output samples matrix, and a vector view. Definition at line 65 of file gnn_memory_output.c. |
|
|
This is the gnn_memory_output : Memory Output Samples. destroy function.
Definition at line 130 of file gnn_memory_output.c. |
|
|
This function returns a pointer to the set's internal matrix. This matrix stores the output vectors row-wise.
Definition at line 250 of file gnn_memory_output.c. |
|
||||||||||||
|
This function creates a new gnn_memory_output : Memory Output Samples. that should be able to store the given number of patterns, where the sample's size is also given.
Definition at line 163 of file gnn_memory_output.c. |
|
|
This function creates a new gnn_memory_output : Memory Output Samples. from a matrix, where the samples are stored row-wise. That is, each row will contain a different sample, and each column corresponds to a different sample's component.
Definition at line 203 of file gnn_memory_output.c. |
|
||||||||||||||||
|
This function stores the k-th pattern in the set.
Definition at line 98 of file gnn_memory_output.c. |
|
||||||||||||
|
This function saves the outputs stored in the matrix to a file, in plain ASCII format.
Definition at line 272 of file gnn_memory_output.c. |
1.2.18