MyCaffe  1.11.7.7
Deep learning software for Windows C# programmers.
MyCaffe.common.TestArgs Class Reference

The TestArgs are passed to the Solver::OnTest event. More...

Inheritance diagram for MyCaffe.common.TestArgs:

Public Member Functions

 TestArgs (int nIterationOverride, int nTestNetID)
 The TestArgs constructor. More...
 

Properties

int IterationOverride [get]
 Returns the testing iteration override. When set to -1, the solver description test iteration is used. More...
 
int TestNetID [get]
 Returns the test Net identifier of the Solver test Net to run. More...
 
double Accuracy [getset]
 Get/set the accuracy for the test run. When overriding the testing, the override should set the accuracy value. More...
 

Detailed Description

The TestArgs are passed to the Solver::OnTest event.

The Solver:OnTest event allows for overriding the Solver::Test functionality.

Definition at line 168 of file EventArgs.cs.

Constructor & Destructor Documentation

◆ TestArgs()

MyCaffe.common.TestArgs.TestArgs ( int  nIterationOverride,
int  nTestNetID 
)

The TestArgs constructor.

Parameters
nIterationOverrideWhen greater than 0, specifies a testing iteration override, otherwise the value is ignored.
nTestNetIDSpecifies the test Net that the Solver would like to test.

Definition at line 179 of file EventArgs.cs.

Property Documentation

◆ Accuracy

double MyCaffe.common.TestArgs.Accuracy
getset

Get/set the accuracy for the test run. When overriding the testing, the override should set the accuracy value.

Definition at line 204 of file EventArgs.cs.

◆ IterationOverride

int MyCaffe.common.TestArgs.IterationOverride
get

Returns the testing iteration override. When set to -1, the solver description test iteration is used.

Definition at line 188 of file EventArgs.cs.

◆ TestNetID

int MyCaffe.common.TestArgs.TestNetID
get

Returns the test Net identifier of the Solver test Net to run.

Definition at line 196 of file EventArgs.cs.


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