|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objecthex.Trainer
hex.Trainer.Threaded
public static class Trainer.Threaded
Runs several trainers in parallel on the same weights, using threads. Only works on one node. There is no synchronization, so some updates are lost. Works well in practice.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class hex.Trainer |
---|
Trainer.Base, Trainer.Direct, Trainer.MapReduce, Trainer.OpenCL, Trainer.Threaded |
Constructor Summary | |
---|---|
Trainer.Threaded(Layer[] ls)
|
|
Trainer.Threaded(Layer[] ls,
int steps,
int cores)
|
Method Summary | |
---|---|
void |
cancel()
|
long |
items()
|
void |
join()
|
Layer[] |
layers()
|
void |
start()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Trainer.Threaded(Layer[] ls)
public Trainer.Threaded(Layer[] ls, int steps, int cores)
Method Detail |
---|
public Layer[] layers()
layers
in class Trainer
public long items()
items
in class Trainer
public void start()
start
in class Trainer
public void join()
join
in class Trainer
public void cancel()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |