Skip to content

Commit 890a132

Browse files
authored
Merge pull request #896 from eclipse/ab_20190910_smallfix
Fix old API use in standalone sample project
2 parents 2eaee88 + f747189 commit 890a132

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

standalone-sample-project/src/main/java/org/deeplearning4j/LenetMnistExample.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ public static void main(String[] args) throws Exception {
9494
.activation(Activation.SOFTMAX)
9595
.build())
9696
.setInputType(InputType.convolutionalFlat(28,28,1)) //See note below
97-
.backprop(true).pretrain(false).build();
97+
.build();
9898

9999
/*
100100
Regarding the .setInputType(InputType.convolutionalFlat(28,28,1)) line: This does a few things.

0 commit comments

Comments
 (0)