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

The IXPreprocessor interface is used to query pre-processed data from a streaming database. More...

Inheritance diagram for MyCaffe.preprocessor.IXMyCaffePreprocessor< T >:
MyCaffe.preprocessor.MyCaffeDataPreprocessor< T >

Public Member Functions

void Initialize (IXMyCaffe< T > imycaffe, IXStreamDatabase istrm, string strPreProcessorDLLPath, PropertySet properties)
 Initialize the pre-processor with an existing instance of MyCaffe and a streaming database. More...
 
void Shutdown ()
 Shutdown any internal threads used. More...
 
void Reset (int nStartOffset=0)
 Reset the querying to the start specified within the streaming database, optionally with an offset. More...
 
Tuple< Blob< T >, SimpleDatumStep (bool bGetSimpleDatum, int nWait=1000)
 Step through the data of the streaming database, pre-process it, and return the data as a Blob. More...
 
Tuple< Bitmap, SimpleDatumRender (SimpleDatum sd)
 Render the data within the More...
 

Detailed Description

The IXPreprocessor interface is used to query pre-processed data from a streaming database.

Definition at line 18 of file Interfaces.cs.

Member Function Documentation

◆ Initialize()

void MyCaffe.preprocessor.IXMyCaffePreprocessor< T >.Initialize ( IXMyCaffe< T >  imycaffe,
IXStreamDatabase  istrm,
string  strPreProcessorDLLPath,
PropertySet  properties 
)

Initialize the pre-processor with an existing instance of MyCaffe and a streaming database.

Parameters
imycaffeSpecifies the MyCaffe instance to use.
istrmSpecifies the streaming database instance to use.
strPreProcessorDLLPathSpecifies the path to the pre-processor DLL to use so that pre-processing can occur using CUDA.
propertiesSpecifies the initialization properties.

Implemented in MyCaffe.preprocessor.MyCaffeDataPreprocessor< T >.

◆ Render()

Render the data within the

Parameters
sdSpecifies the data to be rendered.
Returns
A tuple containing the Bitmap of the data and the action data as a SimpleDatum is returned.

Implemented in MyCaffe.preprocessor.MyCaffeDataPreprocessor< T >.

◆ Reset()

void MyCaffe.preprocessor.IXMyCaffePreprocessor< T >.Reset ( int  nStartOffset = 0)

Reset the querying to the start specified within the streaming database, optionally with an offset.

Parameters
nStartOffsetOptionally, specifies an offset from the start (default = 0).

Implemented in MyCaffe.preprocessor.MyCaffeDataPreprocessor< T >.

◆ Shutdown()

Shutdown any internal threads used.

Implemented in MyCaffe.preprocessor.MyCaffeDataPreprocessor< T >.

◆ Step()

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

Step through the data of the streaming database, pre-process it, and return the data as a Blob.

Parameters
bGetSimpleDatumSpecifies whether or not to return the simple datum of data for rendering.
nWaitSpecifies the maximum amount of time to wait for data.
Returns
A tuple containing a Blob of the data on the GPU and optionally the SimpleDatum with the data on the CPU (for rendering).

Implemented in MyCaffe.preprocessor.MyCaffeDataPreprocessor< T >.


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