|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.encog.engine.concurrency.calc.CalcOpenCLDevice
public class CalcOpenCLDevice
Holds an OpenCL device to perform calculation on.
| Constructor Summary | |
|---|---|
CalcOpenCLDevice(EncogCLDevice device,
ConcurrentCalculate calc)
Construct a device to use. |
|
| Method Summary | |
|---|---|
CalculationResult |
calculateError()
Calculate the error for the neural network using the training set. |
ConcurrentCalculate |
getCalc()
|
EncogCLDevice |
getDevice()
|
void |
setNetwork(FlatNetwork network)
Set the network that we will be using. |
void |
setTraining(EngineIndexableSet training)
Set the training data that will be used. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CalcOpenCLDevice(EncogCLDevice device,
ConcurrentCalculate calc)
device - The underlying device.calc - The owner.| Method Detail |
|---|
public CalculationResult calculateError()
public ConcurrentCalculate getCalc()
public EncogCLDevice getDevice()
public void setNetwork(FlatNetwork network)
network - The network to use.public void setTraining(EngineIndexableSet training)
training - The training data that will be used.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||