Neural
mnist Class Reference

#include <mnist.h>

Collaboration diagram for mnist:

Public Member Functions

 mnist (std::string image_file, std::string label_file, int num)
 
 mnist (std::string image_file, std::string label_file)
 
 ~mnist ()
 
int size ()
 
int rows ()
 
int cols ()
 
std::vector< double > images (int id)
 
int labels (int id)
 

Public Attributes

struct {
   Eigen::MatrixXd   images
 
   Eigen::MatrixXd   labels
 
data
 

Constructor & Destructor Documentation

◆ mnist() [1/2]

mnist::mnist ( std::string  image_file,
std::string  label_file,
int  num 
)

◆ mnist() [2/2]

mnist::mnist ( std::string  image_file,
std::string  label_file 
)

◆ ~mnist()

mnist::~mnist ( )

Member Function Documentation

◆ cols()

int mnist::cols ( )
inline

◆ images()

std::vector<double> mnist::images ( int  id)
inline

◆ labels()

int mnist::labels ( int  id)
inline

◆ rows()

int mnist::rows ( )
inline

◆ size()

int mnist::size ( )
inline

Member Data Documentation

◆ data

struct { ... } mnist::data

◆ images

Eigen::MatrixXd mnist::images

◆ labels

Eigen::MatrixXd mnist::labels

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