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

A generic database class used to connect to the underlying database and create a Cursor that traverses through it. More...

Public Member Functions

 DB (IXImageDatabaseBase imgDb)
 The DB Constructor. More...
 
void Open (string strSrc)
 Opens the underlying database with a given data source. More...
 
void Close ()
 Closes the last Open session. More...
 
Cursor< T > NewCursor (DataTransformer< T > transformer, Log log=null)
 Creates and returns a new Cursor used to traverse through a data source within the database. More...
 

Detailed Description

A generic database class used to connect to the underlying database and create a Cursor that traverses through it.

Definition at line 14 of file DB.cs.

Constructor & Destructor Documentation

◆ DB()

The DB Constructor.

Parameters
imgDbThe underlying database - the MyCaffeImageDatabase.

Definition at line 24 of file DB.cs.

Member Function Documentation

◆ Close()

void MyCaffe.data.DB< T >.Close ( )

Closes the last Open session.

Definition at line 42 of file DB.cs.

◆ NewCursor()

Cursor< T > MyCaffe.data.DB< T >.NewCursor ( DataTransformer< T >  transformer,
Log  log = null 
)

Creates and returns a new Cursor used to traverse through a data source within the database.

Parameters
transformerSpecifies the data transformer used to transform the labels (when label mapping is active).
logOptionally, specifies the output log for diagnostic information (default = null).
Returns

Definition at line 53 of file DB.cs.

◆ Open()

void MyCaffe.data.DB< T >.Open ( string  strSrc)

Opens the underlying database with a given data source.

Parameters
strSrcSpecifies the data source name.

Definition at line 33 of file DB.cs.


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