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

gnn_output.c File Reference

#include "gnn_output.h"
#include "gnn_utilities.h"

Include dependency graph for gnn_output.c:

Include dependency graph

Go to the source code of this file.

Functions

int gnn_output_default_reset (gnn_output *set)
 Default "reset" function for a ouput writer.

void gnn_output_default_destroy (gnn_output *set)
 Default "destroy" function for an output.

int gnn_output_init (gnn_output *set, gnn_output_type mode, size_t size, size_t m, gnn_output_reset_type reset, gnn_output_put_type put, gnn_output_destroy_type destroy)
 Initializes a gnn_output : Writing sets of vectors..

int gnn_output_stream_init (gnn_output *set, gnn_output_reset_type reset, gnn_output_put_type put, gnn_output_destroy_type destroy)
 Initializes a gnn_output : Writing sets of vectors. stream device.

int gnn_output_random_access_init (gnn_output *set, size_t size, size_t m, gnn_output_reset_type reset, gnn_output_put_type put, gnn_output_destroy_type destroy)
 Initializes a gnn_output : Writing sets of vectors. random access device.

void gnn_output_destroy (gnn_output *set)
 Destroy a gnn_output : Writing sets of vectors..

int gnn_output_reset (gnn_output *set)
 Reset a output set.

int gnn_output_put (gnn_output *set, size_t k, const gsl_vector *v)
 Puts the k-th sample.

size_t gnn_output_get_size (gnn_output *set)
 Gets the number of samples in the output.

size_t gnn_output_sample_get_size (gnn_output *set)
 Gets the output sample size.

int gnn_output_is_stream (gnn_output *set)
 Check if stream device.

int gnn_output_is_random_access (gnn_output *set)
 Check if random access device.


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