#include "gnn_globals.h"Include dependency graph for gnn_input.h:

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

Go to the source code of this file.
|
|
This function destroys the input reader.
Definition at line 207 of file gnn_input.c. |
|
||||||||||||
|
This function returns a pointer to a buffer containing the k-th sample vector. The content of the pointed vector will be valid until a next function call on this input set.
Definition at line 246 of file gnn_input.c. |
|
|
This function returns the set's size.
Definition at line 264 of file gnn_input.c. |
|
||||||||||||||||||||||||||||
|
This function initializes a given vector reader, setting its properties and installing its functions. If the "reset", or "destroy" functions aren't provided, then the default functions gnn_input : Reading and handling of sets of vectors. and gnn_input : Reading and handling of sets of vectors. are installed respectively. The "get" function is mandatory, and should always be provided. As an example, suppose that you have made your own extension to the gnn_input : Reading and handling of sets of vectors. datatype, one that reads from a serial port, which you called "serial_reader". Also, suppose you have already coded the appropiate "reset", "get" and "destroy" functions for your special reader. Then, serial_reader *myinput; // a pointer to the input reader to be created gnn_input *set; // a pointer to the same structure, but viewed as a // gnn_input // allocate memory for the input reader myinput = (serial_reader *) malloc (sizeof (serial_reader)); // view as a gnn_input set = (gnn_input *) myinput; // initialize the input (you know there are only 100 samples) gnn_input_init (set, 100, 5, serial_reader_reset, serial_reader_get, serial_reader_destroy);
Definition at line 153 of file gnn_input.c. |
|
|
This function resets the input handler.
Definition at line 225 of file gnn_input.c. |
|
|
This function returns the size of the samples.
Definition at line 281 of file gnn_input.c. |
1.2.18