MyCaffe  1.11.7.7
Deep learning software for Windows C# programmers.
MyCaffe.data.MnistDataLoader Class Reference

The MnistDataLoader is used to create the MNIST dataset and load it into the database managed by the MyCaffe Image Database. More...

Public Member Functions

 MnistDataLoader (MnistDataParameters param, Log log, CancelEvent evtCancel)
 The constructor. More...
 
bool LoadDatabase (int nCreatorID=0)
 Create the dataset and load it into the database. More...
 

Events

EventHandler< ProgressArgsOnProgress
 The OnProgress event fires during the creation process to show the progress. More...
 
EventHandler< ProgressArgsOnError
 The OnError event fires when an error occurs. More...
 
EventHandler OnCompleted
 The OnComplete event fires once the dataset creation has completed. More...
 

Detailed Description

The MnistDataLoader is used to create the MNIST dataset and load it into the database managed by the MyCaffe Image Database.

See also
MNIST Dataset

Definition at line 27 of file MnistDataLoader.cs.

Constructor & Destructor Documentation

◆ MnistDataLoader()

MyCaffe.data.MnistDataLoader.MnistDataLoader ( MnistDataParameters  param,
Log  log,
CancelEvent  evtCancel 
)

The constructor.

Parameters
paramSpecifies the creation parameters.
logSpecifies the output log used to show status updates.
evtCancelSpecifies the cancel event used to abort the creation process.

Definition at line 53 of file MnistDataLoader.cs.

Member Function Documentation

◆ LoadDatabase()

bool MyCaffe.data.MnistDataLoader.LoadDatabase ( int  nCreatorID = 0)

Create the dataset and load it into the database.

Parameters
nCreatorIDSpecifies the creator ID.
Returns
On successful creation, true is returned, otherwise false is returned on abort.

Definition at line 87 of file MnistDataLoader.cs.

Event Documentation

◆ OnCompleted

EventHandler MyCaffe.data.MnistDataLoader.OnCompleted

The OnComplete event fires once the dataset creation has completed.

Definition at line 45 of file MnistDataLoader.cs.

◆ OnError

EventHandler<ProgressArgs> MyCaffe.data.MnistDataLoader.OnError

The OnError event fires when an error occurs.

Definition at line 41 of file MnistDataLoader.cs.

◆ OnProgress

EventHandler<ProgressArgs> MyCaffe.data.MnistDataLoader.OnProgress

The OnProgress event fires during the creation process to show the progress.

Definition at line 37 of file MnistDataLoader.cs.


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