Skip to content

Commit

Permalink
Merge branch 'master' into neutralize_heartbeat
Browse files Browse the repository at this point in the history
  • Loading branch information
nyghtowl committed Mar 9, 2016
2 parents 7e96696 + a796af4 commit e3035d1
Showing 1 changed file with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -161,14 +161,6 @@ public void testBatchNorm() {
SplitTestAndTrain trainTest = next.splitTestAndTrain(110);
network.setLabels(trainTest.getTrain().getLabels());
network.init();
network.setInput(trainTest.getTrain().getFeatureMatrix());
network.setLabels(trainTest.getTrain().getLabels());
network.computeGradientAndScore();
INDArray grad = network.gradient().gradient();

assertTrue("Gradient contains invalid numbers", !Nd4j.hasInvalidNumber(grad));

int numParams = network.numParams();
network.fit(trainTest.getTrain());

}
Expand Down

0 comments on commit e3035d1

Please sign in to comment.