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

The IxTrainerRL interface is implemented by each RL Trainer. More...

Inheritance diagram for MyCaffe.trainers.IxTrainerRL:
MyCaffe.trainers.IxTrainer 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 >

Public Member Functions

ResultCollection RunOne (int nDelay=1000)
 Run a single cycle on the trainer. More...
 
byte[] Run (int nN, PropertySet runProp, out string type)
 Run a number of 'nN' samples on the trainer. More...
 
- Public Member Functions inherited from MyCaffe.trainers.IxTrainer
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 IxTrainerRL interface is implemented by each RL Trainer.

Definition at line 256 of file Interfaces.cs.

Member Function Documentation

◆ Run()

byte[] MyCaffe.trainers.IxTrainerRL.Run ( int  nN,
PropertySet  runProp,
out string  type 
)

Run a number of 'nN' samples on the trainer.

Parameters
nNSpecifies the number of samples to run.
runPropOptionally specifies properties to use when running.
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.

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 >, and MyCaffe.trainers.pg.st.TrainerPG< T >.

◆ RunOne()

ResultCollection MyCaffe.trainers.IxTrainerRL.RunOne ( int  nDelay = 1000)

Run a single cycle on the trainer.

Parameters
nDelaySpecifies a delay to wait before getting the action.
Returns
The result collection containing the action is returned.

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 >, and MyCaffe.trainers.pg.st.TrainerPG< T >.


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