C# 클래스 Encog.Neural.Networks.Training.Concurrent.ConcurrentTrainingManager

Concurrent training manager. This class allows you to queue up network training tasks to be executed either by the CPU cores or OpenCL devices. This allows the CPU/GPU to train neural networks at the same time.
파일 보기 프로젝트 열기: encog/encog-silverlight-core

공개 메소드들

메소드 설명
AddPerformer ( IConcurrentTrainingPerformer performer ) : void

Add a performer.

AddTrainingJob ( TrainingJob job ) : void

Add a training job.

ClearPerformers ( ) : void

Clear all of the performers.

ClearQueue ( ) : void

Clear the workload.

DetectPerformers ( ) : void

Detect performers. Create one performer for each OpenCL device, and another for the CPU's. If there is an OpenCL device already for the CPU, do not create another CPU performer.

DetectPerformers ( bool splitCores, int forceCoreCount ) : void

Detect performers. Create one performer for each OpenCL device, and another for the CPU's. If there is an OpenCL device already for the CPU, do not create another CPU performer.

JobDone ( long time, ConcurrentTrainingPerformerCPU perf ) : void

Report that a job is done.

Join ( ) : void

Wait for all tasks to finish.

Run ( ) : void

Perform the training. Called internally.

Start ( ) : void

Start the manager.

ToString ( ) : String
WaitForFreePerformer ( TrainingJob job ) : IConcurrentTrainingPerformer

Wait for a free performer.

비공개 메소드들

메소드 설명
ConcurrentTrainingManager ( ) : System

Private constructor.

ReportErrors ( ) : void

If an error has been reported, then throw it as an exception.

ReportStatus ( String str ) : void

Report the status.

메소드 상세

AddPerformer() 공개 메소드

Add a performer.
public AddPerformer ( IConcurrentTrainingPerformer performer ) : void
performer IConcurrentTrainingPerformer The performer to add.
리턴 void

AddTrainingJob() 공개 메소드

Add a training job.
public AddTrainingJob ( TrainingJob job ) : void
job Encog.Neural.Networks.Training.Concurrent.Jobs.TrainingJob The training job to add.
리턴 void

ClearPerformers() 공개 메소드

Clear all of the performers.
public ClearPerformers ( ) : void
리턴 void

ClearQueue() 공개 메소드

Clear the workload.
public ClearQueue ( ) : void
리턴 void

DetectPerformers() 공개 메소드

Detect performers. Create one performer for each OpenCL device, and another for the CPU's. If there is an OpenCL device already for the CPU, do not create another CPU performer.
public DetectPerformers ( ) : void
리턴 void

DetectPerformers() 공개 메소드

Detect performers. Create one performer for each OpenCL device, and another for the CPU's. If there is an OpenCL device already for the CPU, do not create another CPU performer.
public DetectPerformers ( bool splitCores, int forceCoreCount ) : void
splitCores bool True, if a CPU performer should be created for each core.
forceCoreCount int The core count to be forced.
리턴 void

JobDone() 공개 메소드

Report that a job is done.
public JobDone ( long time, ConcurrentTrainingPerformerCPU perf ) : void
time long Time took by the job.
perf Encog.Neural.Networks.Training.Concurrent.Performers.ConcurrentTrainingPerformerCPU The perfofmer that did the job.
리턴 void

Join() 공개 메소드

Wait for all tasks to finish.
public Join ( ) : void
리턴 void

Run() 공개 메소드

Perform the training. Called internally.
public Run ( ) : void
리턴 void

Start() 공개 메소드

Start the manager.
public Start ( ) : void
리턴 void

ToString() 공개 메소드

public ToString ( ) : String
리턴 String

WaitForFreePerformer() 공개 메소드

Wait for a free performer.
public WaitForFreePerformer ( TrainingJob job ) : IConcurrentTrainingPerformer
job TrainingJob
리턴 IConcurrentTrainingPerformer