Skip to content

Commit 97e76af

Browse files
committed
Clean up ps
1 parent 1be874c commit 97e76af

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

ps/trainer.go

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,9 +46,6 @@ func newTraining(layers []*nn.Layer) *internal {
4646
func (t *OnlineTrainer) Train(n *nn.Neural, examples, validation Samples, iterations int) {
4747
t.internal = newTraining(n.Layers)
4848

49-
train := make(Samples, len(examples))
50-
copy(train, examples)
51-
5249
t.printer.Init(n)
5350
t.solver.Init(n.NumWeights())
5451

0 commit comments

Comments
 (0)