MyCaffe
1.12.2.41
Deep learning software for Windows C# programmers.
|
The QueryStateCollection manages all query states used by matching the QueryState handles with the QueryStates where each handle points to both the training set query state and testing set query state. More...
Public Member Functions | |
QueryStateCollection () | |
The constructor. More... | |
void | Dispose () |
Releases all resources. More... | |
long | CreateNewState (QueryState training, QueryState testing) |
Create a new QueryState handle based on the QueryStates passed to this function. More... | |
bool | FreeQueryState (long lHandle) |
Free the QueryStates associated with the handle and remove it from the handle list. More... | |
QueryState | GetTrainingState (long lHandle) |
Returns the QueryState used with thet Training data source. More... | |
QueryState | GetTestingState (long lHandle) |
Returns the QueryState used with thet Testing data source. More... | |
void | ReIndexTraining (List< DbItem > rgItems) |
Relabels the training QueryState based on the DbItems. More... | |
void | ReIndexTesting (List< DbItem > rgItems) |
Relabels the testing QueryState based on the DbItems. More... | |
The QueryStateCollection manages all query states used by matching the QueryState handles with the QueryStates where each handle points to both the training set query state and testing set query state.
Definition at line 211 of file QueryState.cs.
MyCaffe.db.image.QueryStateCollection.QueryStateCollection | ( | ) |
The constructor.
Definition at line 219 of file QueryState.cs.
long MyCaffe.db.image.QueryStateCollection.CreateNewState | ( | QueryState | training, |
QueryState | testing | ||
) |
Create a new QueryState handle based on the QueryStates passed to this function.
training | Specifies the training QueryState used on the training data source. |
testing | Specifies the testing QueryState used on the testing data source. |
Definition at line 245 of file QueryState.cs.
void MyCaffe.db.image.QueryStateCollection.Dispose | ( | ) |
Releases all resources.
Definition at line 228 of file QueryState.cs.
bool MyCaffe.db.image.QueryStateCollection.FreeQueryState | ( | long | lHandle | ) |
Free the QueryStates associated with the handle and remove it from the handle list.
lHandle | Specifies the QueryState handle. |
Definition at line 265 of file QueryState.cs.
QueryState MyCaffe.db.image.QueryStateCollection.GetTestingState | ( | long | lHandle | ) |
Returns the QueryState used with thet Testing data source.
lHandle | Specifies the QueryState handle. |
Definition at line 305 of file QueryState.cs.
QueryState MyCaffe.db.image.QueryStateCollection.GetTrainingState | ( | long | lHandle | ) |
Returns the QueryState used with thet Training data source.
lHandle | Specifies the QueryState handle. |
Definition at line 289 of file QueryState.cs.
void MyCaffe.db.image.QueryStateCollection.ReIndexTesting | ( | List< DbItem > | rgItems | ) |
Relabels the testing QueryState based on the DbItems.
rgItems | Specifies the DbItems to use to relabel the QueryState. |
Definition at line 336 of file QueryState.cs.
void MyCaffe.db.image.QueryStateCollection.ReIndexTraining | ( | List< DbItem > | rgItems | ) |
Relabels the training QueryState based on the DbItems.
rgItems | Specifies the DbItems to use to relabel the QueryState. |
Definition at line 320 of file QueryState.cs.