MyCaffe  1.12.2.41
Deep learning software for Windows C# programmers.
MyCaffe.preprocessor.MgrPreprocessor< T > Class Template Reference

The MgrPreprocessor manages the operations of the data pre-processor. More...

Inheritance diagram for MyCaffe.preprocessor.MgrPreprocessor< T >:

Public Member Functions

 MgrPreprocessor (IXMyCaffe< T > imycaffe, IXStreamDatabase idb)
 The constructor. More...
 
void Dispose ()
 Release all resources used. More...
 
void Initialize (string strExtPath, int nFields, int nDepth)
 Initialize the pre-processor. More...
 
void Reset (int nStartOffset)
 Reset the streaming database to the data start or an offset from the start. More...
 
Tuple< Blob< T >, SimpleDatumStep (bool bGetSimpleDatum, int nWait)
 Step to the next data in the streaming database and process it. More...
 

Detailed Description

The MgrPreprocessor manages the operations of the data pre-processor.

Template Parameters
T

Definition at line 16 of file MgrPreprocessor.cs.

Constructor & Destructor Documentation

◆ MgrPreprocessor()

The constructor.

Parameters
imycaffeSpecifies the instance of the MyCaffeControl to use.
idbSpecifies the instance of the streaming database to use.

Definition at line 29 of file MgrPreprocessor.cs.

Member Function Documentation

◆ Dispose()

void MyCaffe.preprocessor.MgrPreprocessor< T >.Dispose ( )

Release all resources used.

Definition at line 41 of file MgrPreprocessor.cs.

◆ Initialize()

void MyCaffe.preprocessor.MgrPreprocessor< T >.Initialize ( string  strExtPath,
int  nFields,
int  nDepth 
)

Initialize the pre-processor.

Parameters
strExtPathSpecifies the path to the pre-processor extension DLL to use.
nFieldsSpecifies the number of fields that the pre-processor uses.
nDepthSpecifies the depth of the pre-processor.

Definition at line 62 of file MgrPreprocessor.cs.

◆ Reset()

void MyCaffe.preprocessor.MgrPreprocessor< T >.Reset ( int  nStartOffset)

Reset the streaming database to the data start or an offset from the start.

Parameters
nStartOffsetSpecifies the offset from the start to use.

Definition at line 94 of file MgrPreprocessor.cs.

◆ Step()

Tuple< Blob< T >, SimpleDatum > MyCaffe.preprocessor.MgrPreprocessor< T >.Step ( bool  bGetSimpleDatum,
int  nWait 
)

Step to the next data in the streaming database and process it.

Parameters
bGetSimpleDatumWhen true, specifies to create the SimpleDatum for data visualization.
nWaitSpecifies the amount of time in ms. to wait for data.
Returns
A tuple containing the output data Blob and optionally a SimpleDatum for visualization is returned.

Definition at line 105 of file MgrPreprocessor.cs.


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