|
|||||||||
| 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()
|
void |
join()
|
Layer[] |
layers()
|
long |
samples()
|
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 Trainerpublic long samples()
samples in class Trainerpublic void start()
start in class Trainerpublic void join()
join in class Trainerpublic void cancel()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||