MyCaffe  1.12.2.41
Deep learning software for Windows C# programmers.
MyCaffe.trainers.MyCaffeTrainerRNN Class Reference

(Depreciated - use MyCaffeTrainerDual instead.) The MyCaffeTrainerRNN is used to perform recurrent neural-network training tasks on an instance of the MyCaffeControl. More...

Inheritance diagram for MyCaffe.trainers.MyCaffeTrainerRNN:
MyCaffe.trainers.IXMyCaffeCustomTrainerRNN MyCaffe.trainers.IxTrainerCallbackRNN MyCaffe.trainers.IXMyCaffeCustomTrainer MyCaffe.trainers.IxTrainerCallback

Public Member Functions

 MyCaffeTrainerRNN ()
 The constructor. More...
 
 MyCaffeTrainerRNN (IContainer container)
 The constructor. More...
 
bool GetUpdateSnapshot (out int nIteration, out double dfAccuracy)
 Returns true when the training is ready for a snap-shot, false otherwise. More...
 
DatasetDescriptor GetDatasetOverride (int nProjectID, ConnectInfo ci=null)
 Returns a dataset override to use (if any) instead of the project's dataset. If there is no dataset override null is returned and the project's dataset is used. More...
 
void CleanUp ()
 Releases any resources used by the component. More...
 
void Initialize (string strProperties, IXMyCaffeCustomTrainerCallback icallback)
 Initializes a new custom trainer by loading the key-value pair of properties into the property set. More...
 
float[] Run (Component mycaffe, int nN)
 Create a new trainer and use it to run a single run cycle. More...
 
byte[] Run (Component mycaffe, int nN, out string type)
 Run the network using the run technique implemented by this trainer. More...
 
void Test (Component mycaffe, int nIterationOverride, ITERATOR_TYPE type=ITERATOR_TYPE.ITERATION)
 Create a new trainer and use it to run a test cycle. More...
 
void Train (Component mycaffe, int nIterationOverride, ITERATOR_TYPE type=ITERATOR_TYPE.ITERATION, TRAIN_STEP step=TRAIN_STEP.NONE)
 Create a new trainer and use it to run a training cycle. More...
 
void OnInitialize (InitializeArgs e)
 The OnIntialize callback fires when initializing the trainer. More...
 
void OnShutdown ()
 The OnShutdown callback fires when shutting down the trainer. More...
 
void OnGetData (GetDataArgs e)
 The OnGetData callback fires from within the Train method and is used to get a new observation data. More...
 
void OnConvertOutput (ConvertOutputArgs e)
 The OnConvertOutput callback fires from within the Run method and is used to convert the network output into its native format. More...
 
void OnTestAccuracyUpdate (TestAccuracyUpdateArgs e)
 The OnTestAccuracyUpdate callback fires from within the Run method and is used to give the recipient the chance to determine whether the label detected is correct or not. More...
 
void OnUpdateStatus (GetStatusArgs e)
 The OnGetStatus callback fires on each iteration within the Train method. More...
 
void OnWait (WaitArgs e)
 The OnWait callback fires when waiting for a shutdown. More...
 
double GetProperty (string strProp)
 Returns a specific property value. More...
 
void OpenUi ()
 Open the user interface for the trainer, of one exists. More...
 
BucketCollection PreloadData (Log log, CancelEvent evtCancel, int nProjectID, PropertySet propertyOverride=null, ConnectInfo ci=null)
 The PreloadData method gives the custom trainer an opportunity to pre-load any data. More...
 
string ResizeModel (Log log, string strModel, BucketCollection rgVocabulary)
 The ResizeModel method gives the custom trainer the opportunity to resize the model if needed. More...
 

Protected Member Functions

virtual DatasetDescriptor get_dataset_override (int nProjectID, ConnectInfo ci=null)
 Returns a dataset override to use (if any) instead of the project's dataset. If there is no dataset override null is returned and the project's dataset is used. More...
 
virtual string get_information ()
 Returns information describing the specific trainer, such as the gym used, if any. More...
 
virtual IxTrainerRNN create_trainerD (Component caffe)
 Optionally overridden to return a new type of trainer. More...
 
virtual IxTrainerRNN create_trainerF (Component caffe)
 Optionally overridden to return a new type of trainer. More...
 
virtual void dispose ()
 Override to dispose of resources used. More...
 
virtual void initialize (InitializeArgs e)
 Override called by the Initialize method of the trainer. More...
 
virtual void shutdown ()
 Override called from within the CleanUp method. More...
 
virtual bool getData (GetDataArgs e)
 Override called by the OnGetData event fired by the Trainer to retrieve a new set of observation collections making up a set of experiences. More...
 
virtual bool convertOutput (ConvertOutputArgs e)
 Override called by the OnConvertOutput event fired by the Trainer to convert the network output into its native format. More...
 
virtual void testAccuracyUpdate (TestAccuracyUpdateArgs e)
 Override called by the OnTestAccuracyUpdate event fired from within the Run method and is used to give the recipient the chance to determine whether the label detected is correct or not. More...
 
virtual bool get_update_snapshot (out int nIteration, out double dfAccuracy)
 Returns true when the training is ready for a snap-shot, false otherwise. More...
 
virtual void openUi ()
 Called by OpenUi, override this when a UI (via WCF) should be displayed. More...
 
virtual BucketCollection preloaddata (Log log, CancelEvent evtCancel, int nProjectID, PropertySet propertyOverride=null, ConnectInfo ci=null)
 The preloaddata method gives the custom trainer an opportunity to pre-load any data. More...
 
override void Dispose (bool disposing)
 Clean up any resources being used. More...
 

Protected Attributes

PropertySet m_properties = null
 Specifies the properties parsed from the key-value pair passed to the Initialize method. More...
 
int m_nProjectID = 0
 Specifies the project ID of the project held by the instance of MyCaffe. More...
 
ConnectInfo m_dsCi = null
 Optionally, specifies the dataset connection info, or null. More...
 

Properties

virtual string name [get]
 Overriden to give the actual name of the custom trainer. More...
 
virtual TRAINING_CATEGORY category [get]
 Override when using a training method other than the RECURRENT method (the default). More...
 
Stage Stage [get]
 Returns the Stage.RNN type. More...
 
string Name [get]
 Returns the name of the custom trainer. This method calls the 'name' override. More...
 
TRAINING_CATEGORY TrainingCategory [get]
 Returns the training category of the custom trainer (default = REINFORCEMENT). More...
 
bool IsTrainingSupported [get]
 Returns whether or not Training is supported. More...
 
bool IsTestingSupported [get]
 Returns whether or not Testing is supported. More...
 
bool IsRunningSupported [get]
 Returns whether or not Running is supported. More...
 
string Information [get]
 Returns information describing the trainer. More...
 
- Properties inherited from MyCaffe.trainers.IXMyCaffeCustomTrainer
Stage Stage [get]
 Returns the stage that the trainer is running under based on the trainer type. More...
 
string Name [get]
 Returns the name of the custom trainer. More...
 
TRAINING_CATEGORY TrainingCategory [get]
 Returns the training category supported by the implementer of the interface. More...
 
bool IsTrainingSupported [get]
 Returns true when the 'Train' method is supported - this should almost always be true. More...
 
bool IsTestingSupported [get]
 Returns true when the 'Test' method is supported. More...
 
bool IsRunningSupported [get]
 Returns true when the 'Run' method is supported. More...
 
string Information [get]
 Returns general information about the custom trainer. More...
 

Detailed Description

(Depreciated - use MyCaffeTrainerDual instead.) The MyCaffeTrainerRNN is used to perform recurrent neural-network training tasks on an instance of the MyCaffeControl.

Currently, the MyCaffeTrainerRNN supports the following trainers, each of which are selected with the 'TrainerType=type' property value within the property set specified when calling the Initialize method.

TrainerType=RNN.SIMPLE - creates the initial simple policy gradient trainer that only supports single-threaded Sigmoid based models.

The following settings are used from the Model and Solver descriptions:

Solver: base_lr - specifies the learning rate used. Model: batch_size - specifies how often accumulated gradients are applied.

Definition at line 32 of file MyCaffeTrainerRNN.cs.

Constructor & Destructor Documentation

◆ MyCaffeTrainerRNN() [1/2]

MyCaffe.trainers.MyCaffeTrainerRNN.MyCaffeTrainerRNN ( )

The constructor.

Definition at line 68 of file MyCaffeTrainerRNN.cs.

◆ MyCaffeTrainerRNN() [2/2]

MyCaffe.trainers.MyCaffeTrainerRNN.MyCaffeTrainerRNN ( IContainer  container)

The constructor.

Parameters
containerThe container of the component.

Definition at line 77 of file MyCaffeTrainerRNN.cs.

Member Function Documentation

◆ CleanUp()

void MyCaffe.trainers.MyCaffeTrainerRNN.CleanUp ( )

Releases any resources used by the component.

Implements MyCaffe.trainers.IXMyCaffeCustomTrainer.

Definition at line 351 of file MyCaffeTrainerRNN.cs.

◆ convertOutput()

virtual bool MyCaffe.trainers.MyCaffeTrainerRNN.convertOutput ( ConvertOutputArgs  e)
protectedvirtual

Override called by the OnConvertOutput event fired by the Trainer to convert the network output into its native format.

Parameters
eSpecifies the event arguments.
Returns
When handled this function retunrs true, otherwise it returns false.

Definition at line 222 of file MyCaffeTrainerRNN.cs.

◆ create_trainerD()

virtual IxTrainerRNN MyCaffe.trainers.MyCaffeTrainerRNN.create_trainerD ( Component  caffe)
protectedvirtual

Optionally overridden to return a new type of trainer.

Override this method when using the MyCaffeControl that uses the double base type.

Parameters
caffeSpecifies the MyCaffeControl used.
Returns
The IxTraininer interface implemented by the new trainer is returned.

Definition at line 130 of file MyCaffeTrainerRNN.cs.

◆ create_trainerF()

virtual IxTrainerRNN MyCaffe.trainers.MyCaffeTrainerRNN.create_trainerF ( Component  caffe)
protectedvirtual

Optionally overridden to return a new type of trainer.

Override this method when using the MyCaffeControl that uses the double base type.

Parameters
caffeSpecifies the MyCaffeControl used.
Returns
The IxTraininer interface implemented by the new trainer is returned.

Definition at line 160 of file MyCaffeTrainerRNN.cs.

◆ dispose()

virtual void MyCaffe.trainers.MyCaffeTrainerRNN.dispose ( )
protectedvirtual

Override to dispose of resources used.

Definition at line 185 of file MyCaffeTrainerRNN.cs.

◆ Dispose()

override void MyCaffe.trainers.MyCaffeTrainerRNN.Dispose ( bool  disposing)
protected

Clean up any resources being used.

Parameters
disposingtrue if managed resources should be disposed; otherwise, false.

Definition at line 14 of file MyCaffeTrainerRNN.Designer.cs.

◆ get_dataset_override()

virtual DatasetDescriptor MyCaffe.trainers.MyCaffeTrainerRNN.get_dataset_override ( int  nProjectID,
ConnectInfo  ci = null 
)
protectedvirtual

Returns a dataset override to use (if any) instead of the project's dataset. If there is no dataset override null is returned and the project's dataset is used.

Parameters
nProjectIDSpecifies the project ID associated with the trainer (if any)
ciOptionally, specifies the database connection information (default = null).

Definition at line 108 of file MyCaffeTrainerRNN.cs.

◆ get_information()

virtual string MyCaffe.trainers.MyCaffeTrainerRNN.get_information ( )
protectedvirtual

Returns information describing the specific trainer, such as the gym used, if any.

Returns
The string describing the trainer is returned.

Definition at line 117 of file MyCaffeTrainerRNN.cs.

◆ get_update_snapshot()

virtual bool MyCaffe.trainers.MyCaffeTrainerRNN.get_update_snapshot ( out int  nIteration,
out double  dfAccuracy 
)
protectedvirtual

Returns true when the training is ready for a snap-shot, false otherwise.

Parameters
nIterationSpecifies the current iteration.
dfAccuracyReturns the current accuracy.

Definition at line 240 of file MyCaffeTrainerRNN.cs.

◆ getData()

virtual bool MyCaffe.trainers.MyCaffeTrainerRNN.getData ( GetDataArgs  e)
protectedvirtual

Override called by the OnGetData event fired by the Trainer to retrieve a new set of observation collections making up a set of experiences.

Parameters
eSpecifies the getData argments used to return the new observations.
Returns
A value of true is returned when data is retrieved.

Definition at line 212 of file MyCaffeTrainerRNN.cs.

◆ GetDatasetOverride()

DatasetDescriptor MyCaffe.trainers.MyCaffeTrainerRNN.GetDatasetOverride ( int  nProjectID,
ConnectInfo  ci = null 
)

Returns a dataset override to use (if any) instead of the project's dataset. If there is no dataset override null is returned and the project's dataset is used.

Parameters
nProjectIDSpecifies the project ID associated with the trainer (if any)
ciOptionally, specifies the database connection information (default = null).

Implements MyCaffe.trainers.IXMyCaffeCustomTrainer.

Definition at line 319 of file MyCaffeTrainerRNN.cs.

◆ GetProperty()

double MyCaffe.trainers.MyCaffeTrainerRNN.GetProperty ( string  strProp)

Returns a specific property value.

Parameters
strPropSpecifies the property to get.
Returns
The property value is returned.

The following properties are supported by the RNN trainers: 'GlobalIteration'

Implements MyCaffe.trainers.IXMyCaffeCustomTrainer.

Definition at line 573 of file MyCaffeTrainerRNN.cs.

◆ GetUpdateSnapshot()

bool MyCaffe.trainers.MyCaffeTrainerRNN.GetUpdateSnapshot ( out int  nIteration,
out double  dfAccuracy 
)

Returns true when the training is ready for a snap-shot, false otherwise.

Parameters
nIterationSpecifies the current iteration.
dfAccuracySpecifies the current accuracy.

Implements MyCaffe.trainers.IXMyCaffeCustomTrainer.

Definition at line 308 of file MyCaffeTrainerRNN.cs.

◆ initialize()

virtual void MyCaffe.trainers.MyCaffeTrainerRNN.initialize ( InitializeArgs  e)
protectedvirtual

Override called by the Initialize method of the trainer.

When providing a new trainer, this method is not used.

Parameters
eSpecifies the initialization arguments.

Definition at line 196 of file MyCaffeTrainerRNN.cs.

◆ Initialize()

void MyCaffe.trainers.MyCaffeTrainerRNN.Initialize ( string  strProperties,
IXMyCaffeCustomTrainerCallback  icallback 
)

Initializes a new custom trainer by loading the key-value pair of properties into the property set.

Parameters
strPropertiesSpecifies the key-value pair of properties each separated by ';'. For example the expected format is 'key1'='value1';'key2'='value2';...
icallbackSpecifies the parent callback.

Implements MyCaffe.trainers.IXMyCaffeCustomTrainer.

Definition at line 377 of file MyCaffeTrainerRNN.cs.

◆ OnConvertOutput()

void MyCaffe.trainers.MyCaffeTrainerRNN.OnConvertOutput ( ConvertOutputArgs  e)

The OnConvertOutput callback fires from within the Run method and is used to convert the network output into its native format.

Parameters
eSpecifies the event arguments.

Implements MyCaffe.trainers.IxTrainerCallbackRNN.

Definition at line 521 of file MyCaffeTrainerRNN.cs.

◆ OnGetData()

void MyCaffe.trainers.MyCaffeTrainerRNN.OnGetData ( GetDataArgs  e)

The OnGetData callback fires from within the Train method and is used to get a new observation data.

Implements MyCaffe.trainers.IxTrainerCallback.

Definition at line 512 of file MyCaffeTrainerRNN.cs.

◆ OnInitialize()

void MyCaffe.trainers.MyCaffeTrainerRNN.OnInitialize ( InitializeArgs  e)

The OnIntialize callback fires when initializing the trainer.

Implements MyCaffe.trainers.IxTrainerCallback.

Definition at line 496 of file MyCaffeTrainerRNN.cs.

◆ OnShutdown()

void MyCaffe.trainers.MyCaffeTrainerRNN.OnShutdown ( )

The OnShutdown callback fires when shutting down the trainer.

Implements MyCaffe.trainers.IxTrainerCallback.

Definition at line 504 of file MyCaffeTrainerRNN.cs.

◆ OnTestAccuracyUpdate()

void MyCaffe.trainers.MyCaffeTrainerRNN.OnTestAccuracyUpdate ( TestAccuracyUpdateArgs  e)

The OnTestAccuracyUpdate callback fires from within the Run method and is used to give the recipient the chance to determine whether the label detected is correct or not.

Parameters
eSpecifies the argument sent with the callback.

Implements MyCaffe.trainers.IxTrainerCallbackRNN.

Definition at line 530 of file MyCaffeTrainerRNN.cs.

◆ OnUpdateStatus()

void MyCaffe.trainers.MyCaffeTrainerRNN.OnUpdateStatus ( GetStatusArgs  e)

The OnGetStatus callback fires on each iteration within the Train method.

Implements MyCaffe.trainers.IxTrainerCallback.

Definition at line 538 of file MyCaffeTrainerRNN.cs.

◆ OnWait()

void MyCaffe.trainers.MyCaffeTrainerRNN.OnWait ( WaitArgs  e)

The OnWait callback fires when waiting for a shutdown.

Implements MyCaffe.trainers.IxTrainerCallback.

Definition at line 559 of file MyCaffeTrainerRNN.cs.

◆ openUi()

virtual void MyCaffe.trainers.MyCaffeTrainerRNN.openUi ( )
protectedvirtual

Called by OpenUi, override this when a UI (via WCF) should be displayed.

Definition at line 257 of file MyCaffeTrainerRNN.cs.

◆ OpenUi()

void MyCaffe.trainers.MyCaffeTrainerRNN.OpenUi ( )

Open the user interface for the trainer, of one exists.

Implements MyCaffe.trainers.IXMyCaffeCustomTrainer.

Definition at line 605 of file MyCaffeTrainerRNN.cs.

◆ preloaddata()

virtual BucketCollection MyCaffe.trainers.MyCaffeTrainerRNN.preloaddata ( Log  log,
CancelEvent  evtCancel,
int  nProjectID,
PropertySet  propertyOverride = null,
ConnectInfo  ci = null 
)
protectedvirtual

The preloaddata method gives the custom trainer an opportunity to pre-load any data.

Parameters
logSpecifies the output log to use.
evtCancelSpecifies the cancel event.
nProjectIDSpecifies the project ID if any.
propertyOverrideOptionally, specifies the properites to override those already specified during initialization (default = null).
ciOptionally, specifies the database connection information (default = null).
Returns
When data is pre-loaded the discovered vocabulary is returned as a bucket collection.

Definition at line 270 of file MyCaffeTrainerRNN.cs.

◆ PreloadData()

BucketCollection MyCaffe.trainers.MyCaffeTrainerRNN.PreloadData ( Log  log,
CancelEvent  evtCancel,
int  nProjectID,
PropertySet  propertyOverride = null,
ConnectInfo  ci = null 
)

The PreloadData method gives the custom trainer an opportunity to pre-load any data.

Parameters
logSpecifies the output log to use.
evtCancelSpecifies the cancel event.
nProjectIDSpecifies the project ID used, if any.
propertyOverrideOptionally, specifies the properites to override those already specified during initialization (default = null).
ciOptionally, specifies the database connection information (default = null).
Returns
When data is pre-loaded the discovered vocabulary is returned as a BucketCollection.

Implements MyCaffe.trainers.IXMyCaffeCustomTrainerRNN.

Definition at line 619 of file MyCaffeTrainerRNN.cs.

◆ ResizeModel()

string MyCaffe.trainers.MyCaffeTrainerRNN.ResizeModel ( Log  log,
string  strModel,
BucketCollection  rgVocabulary 
)

The ResizeModel method gives the custom trainer the opportunity to resize the model if needed.

Parameters
strModelSpecifies the model descriptor.
rgVocabularySpecifies the vocabulary.
logSpecifies the output log.
Returns
A new model discriptor is returned (or the same 'strModel' if no changes were made).

Note, this method is called after PreloadData.

Implements MyCaffe.trainers.IXMyCaffeCustomTrainerRNN.

Definition at line 632 of file MyCaffeTrainerRNN.cs.

◆ Run() [1/2]

float[] MyCaffe.trainers.MyCaffeTrainerRNN.Run ( Component  mycaffe,
int  nN 
)

Create a new trainer and use it to run a single run cycle.

Parameters
mycaffeSpecifies the MyCaffeControl to use.
nNSpecifies the number of samples to run.
Returns
The results of the run are returned.

Implements MyCaffe.trainers.IXMyCaffeCustomTrainerRNN.

Definition at line 415 of file MyCaffeTrainerRNN.cs.

◆ Run() [2/2]

byte[] MyCaffe.trainers.MyCaffeTrainerRNN.Run ( Component  mycaffe,
int  nN,
out string  type 
)

Run the network using the run technique implemented by this trainer.

Parameters
mycaffeSpecifies an instance to the MyCaffeControl component.
nNSpecifies the number of samples to run.
typeSpecifies the output data type returned as a raw byte stream.
Returns
The run results are returned in the same native type as that of the CustomQuery used.

Implements MyCaffe.trainers.IXMyCaffeCustomTrainerRNN.

Definition at line 438 of file MyCaffeTrainerRNN.cs.

◆ shutdown()

virtual void MyCaffe.trainers.MyCaffeTrainerRNN.shutdown ( )
protectedvirtual

Override called from within the CleanUp method.

Definition at line 203 of file MyCaffeTrainerRNN.cs.

◆ Test()

void MyCaffe.trainers.MyCaffeTrainerRNN.Test ( Component  mycaffe,
int  nIterationOverride,
ITERATOR_TYPE  type = ITERATOR_TYPE.ITERATION 
)

Create a new trainer and use it to run a test cycle.

Parameters
mycaffeSpecifies the MyCaffeControl to use.
nIterationOverrideSpecifies the iterations to run if greater than zero.
typeSpecifies the type of iterator to use.

Implements MyCaffe.trainers.IXMyCaffeCustomTrainer.

Definition at line 460 of file MyCaffeTrainerRNN.cs.

◆ testAccuracyUpdate()

virtual void MyCaffe.trainers.MyCaffeTrainerRNN.testAccuracyUpdate ( TestAccuracyUpdateArgs  e)
protectedvirtual

Override called by the OnTestAccuracyUpdate event fired from within the Run method and is used to give the recipient the chance to determine whether the label detected is correct or not.

Parameters
eSpecifies the argument sent with the callback.

Definition at line 231 of file MyCaffeTrainerRNN.cs.

◆ Train()

void MyCaffe.trainers.MyCaffeTrainerRNN.Train ( Component  mycaffe,
int  nIterationOverride,
ITERATOR_TYPE  type = ITERATOR_TYPE.ITERATION,
TRAIN_STEP  step = TRAIN_STEP.NONE 
)

Create a new trainer and use it to run a training cycle.

Parameters
mycaffeSpecifies the MyCaffeControl to use.
nIterationOverrideSpecifies the iterations to run if greater than zero.
typeSpecifies the type of iterator to use.
stepOptionally, specifies whether or not to step the training for debugging (default = NONE).

Implements MyCaffe.trainers.IXMyCaffeCustomTrainer.

Definition at line 479 of file MyCaffeTrainerRNN.cs.

Member Data Documentation

◆ m_dsCi

ConnectInfo MyCaffe.trainers.MyCaffeTrainerRNN.m_dsCi = null
protected

Optionally, specifies the dataset connection info, or null.

Definition at line 45 of file MyCaffeTrainerRNN.cs.

◆ m_nProjectID

int MyCaffe.trainers.MyCaffeTrainerRNN.m_nProjectID = 0
protected

Specifies the project ID of the project held by the instance of MyCaffe.

Definition at line 41 of file MyCaffeTrainerRNN.cs.

◆ m_properties

PropertySet MyCaffe.trainers.MyCaffeTrainerRNN.m_properties = null
protected

Specifies the properties parsed from the key-value pair passed to the Initialize method.

Definition at line 37 of file MyCaffeTrainerRNN.cs.

Property Documentation

◆ category

virtual TRAINING_CATEGORY MyCaffe.trainers.MyCaffeTrainerRNN.category
getprotected

Override when using a training method other than the RECURRENT method (the default).

Definition at line 97 of file MyCaffeTrainerRNN.cs.

◆ Information

string MyCaffe.trainers.MyCaffeTrainerRNN.Information
get

Returns information describing the trainer.

Definition at line 597 of file MyCaffeTrainerRNN.cs.

◆ IsRunningSupported

bool MyCaffe.trainers.MyCaffeTrainerRNN.IsRunningSupported
get

Returns whether or not Running is supported.

Definition at line 343 of file MyCaffeTrainerRNN.cs.

◆ IsTestingSupported

bool MyCaffe.trainers.MyCaffeTrainerRNN.IsTestingSupported
get

Returns whether or not Testing is supported.

Definition at line 335 of file MyCaffeTrainerRNN.cs.

◆ IsTrainingSupported

bool MyCaffe.trainers.MyCaffeTrainerRNN.IsTrainingSupported
get

Returns whether or not Training is supported.

Definition at line 327 of file MyCaffeTrainerRNN.cs.

◆ name

virtual string MyCaffe.trainers.MyCaffeTrainerRNN.name
getprotected

Overriden to give the actual name of the custom trainer.

Definition at line 89 of file MyCaffeTrainerRNN.cs.

◆ Name

string MyCaffe.trainers.MyCaffeTrainerRNN.Name
get

Returns the name of the custom trainer. This method calls the 'name' override.

Definition at line 290 of file MyCaffeTrainerRNN.cs.

◆ Stage

Stage MyCaffe.trainers.MyCaffeTrainerRNN.Stage
get

Returns the Stage.RNN type.

Definition at line 282 of file MyCaffeTrainerRNN.cs.

◆ TrainingCategory

TRAINING_CATEGORY MyCaffe.trainers.MyCaffeTrainerRNN.TrainingCategory
get

Returns the training category of the custom trainer (default = REINFORCEMENT).

Definition at line 298 of file MyCaffeTrainerRNN.cs.


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