DeepCL  SNAPSHOT
Deep convolutional neural networks using OpenCL
Static Public Member Functions | List of all members
GenericLoader Class Reference

Use to load data from file, given the path to the images file. More...

Static Public Member Functions

static publicapi void getDimensions (const char *trainFilepath, int *p_numExamples, int *p_numPlanes, int *p_imageSize)
 
static publicapi void load (const char *imagesFilePath, float *images, int *labels, int startN, int numExamples)
 

Detailed Description

Use to load data from file, given the path to the images file.

Can handle mnist, norb and kgsgov2 formats for now Can be extended to other formats, as long as there is some reasonably quick way to determine the format correctly eg, a header, or based on the file extension

Public API

Member Function Documentation

PUBLIC publicapi STATIC void GenericLoader::getDimensions ( const char *  trainFilepath,
int *  p_numExamples,
int *  p_numPlanes,
int *  p_imageSize 
)
static
Public API
PUBLIC publicapi STATIC void GenericLoader::load ( const char *  imagesFilePath,
float *  images,
int *  labels,
int  startN,
int  numExamples 
)
static
Public API

The documentation for this class was generated from the following files: