DeepCL  v4.0.0rc5
Deep convolutional neural networks using OpenCL
 All Classes Functions
Public Member Functions | List of all members
GenericLoader Class Reference

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

Public Member Functions

publicapi STATIC void getDimensions (std::string trainFilepath, int *p_numExamples, int *p_numPlanes, int *p_imageSize)
 
publicapi STATIC void load (std::string 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

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

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