Skip to content

Commit

Permalink
Adapt to new interface.
Browse files Browse the repository at this point in the history
  • Loading branch information
arnocandel committed Jan 15, 2014
1 parent 7ee94ab commit 3631615
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ protected void preTrain(Layer[] ls, int index) {
Layer.shareWeights(ls[index], pre[index]);
Layer.shareWeights(ls[index], pre[index + 1]);
for( int i = 0; i < pre.length; i++ ) {
pre[i].init(pre, i, false, 0);
pre[i].init(pre, i, false);
}

_trainer = new Trainer.Direct(pre, 10, self());
Expand Down

0 comments on commit 3631615

Please sign in to comment.