C# Класс Encog.Util.Concurrency.DetermineWorkload

Used by several Encog training methods to break up a workload. Can also be used to determine the number of threads to use. If zero threads are specified, Encog will query the processor count and determine the best number of threads to use.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
CalculateWorkers ( ) : IList

Calculate the high and low ranges for each worker.

DetermineWorkload ( int threads, int workloadSize ) : System

Determine the workload.

Описание методов

CalculateWorkers() публичный Метод

Calculate the high and low ranges for each worker.
public CalculateWorkers ( ) : IList
Результат IList

DetermineWorkload() публичный Метод

Determine the workload.
public DetermineWorkload ( int threads, int workloadSize ) : System
threads int Threads to use, or zero to allow Encog to pick.
workloadSize int Total workload size.
Результат System