MyCaffe  1.12.2.41
Deep learning software for Windows C# programmers.
MyCaffe.trainers.IxTrainer Interface Reference

The IxTrainer interface is implemented by each Trainer. More...

Inheritance diagram for MyCaffe.trainers.IxTrainer:
MyCaffe.trainers.IxTrainerRL MyCaffe.trainers.IxTrainerRNN MyCaffe.trainers.dqn.c51.st.TrainerC51< T > MyCaffe.trainers.dqn.noisy.simple.TrainerNoisyDqn< T > MyCaffe.trainers.dqn.noisy.st.TrainerNoisyDqn< T > MyCaffe.trainers.pg.mt.TrainerPG< T > MyCaffe.trainers.pg.simple.TrainerPG< T > MyCaffe.trainers.pg.st.TrainerPG< T > MyCaffe.trainers.rnn.simple.TrainerRNN< T > MyCaffe.trainers.rnn.simple.TrainerRNNSimple< T >

Public Member Functions

bool Initialize ()
 Initialize the trainer. More...
 
bool Shutdown (int nWait)
 Shutdown the trainer. More...
 
bool Train (int nN, ITERATOR_TYPE type, TRAIN_STEP step)
 Train the network. More...
 
bool Test (int nN, ITERATOR_TYPE type)
 Test the newtork. More...
 

Detailed Description

The IxTrainer interface is implemented by each Trainer.

Definition at line 223 of file Interfaces.cs.

Member Function Documentation

◆ Initialize()

◆ Shutdown()

◆ Test()

bool MyCaffe.trainers.IxTrainer.Test ( int  nN,
ITERATOR_TYPE  type 
)

Test the newtork.

Parameters
nNSpecifies the number of iterations (based on the ITERATION_TYPE) to run, or -1 to ignore.
typeSpecifies the iteration type (default = ITERATION).
Returns
Returns true on success, false on failure.

Implemented in MyCaffe.trainers.dqn.c51.st.TrainerC51< T >, MyCaffe.trainers.dqn.noisy.simple.TrainerNoisyDqn< T >, MyCaffe.trainers.dqn.noisy.st.TrainerNoisyDqn< T >, MyCaffe.trainers.pg.mt.TrainerPG< T >, MyCaffe.trainers.pg.simple.TrainerPG< T >, MyCaffe.trainers.pg.st.TrainerPG< T >, MyCaffe.trainers.rnn.simple.TrainerRNN< T >, and MyCaffe.trainers.rnn.simple.TrainerRNNSimple< T >.

◆ Train()

bool MyCaffe.trainers.IxTrainer.Train ( int  nN,
ITERATOR_TYPE  type,
TRAIN_STEP  step 
)

Train the network.

Parameters
nNSpecifies the number of iterations (based on the ITERATION_TYPE) to run, or -1 to ignore.
typeSpecifies the iteration type (default = ITERATION).
stepSpecifies whether or not to step the training for debugging.
Returns
Returns true on success, false on failure.

Implemented in MyCaffe.trainers.dqn.c51.st.TrainerC51< T >, MyCaffe.trainers.dqn.noisy.simple.TrainerNoisyDqn< T >, MyCaffe.trainers.dqn.noisy.st.TrainerNoisyDqn< T >, MyCaffe.trainers.pg.mt.TrainerPG< T >, MyCaffe.trainers.pg.simple.TrainerPG< T >, MyCaffe.trainers.pg.st.TrainerPG< T >, MyCaffe.trainers.rnn.simple.TrainerRNN< T >, and MyCaffe.trainers.rnn.simple.TrainerRNNSimple< T >.


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