You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Deprecate Backprop and Pretrain options when configuring ComputationGraph and MultiLayer (deeplearning4j#6296)
* Deprecate Backprop and Pretrain options when configuring ComputationGraph and MultiLayer
* Deprecate Backprop and Pretrain options when configuring ComputationGraph and MultiLayer
Copy file name to clipboardExpand all lines: deeplearning4j/deeplearning4j-nn/src/main/java/org/deeplearning4j/nn/conf/ComputationGraphConfiguration.java
@@ -649,8 +652,11 @@ public GraphBuilder inputPreProcessor(String layer, InputPreProcessor processor)
649
652
/**
650
653
* Whether to do back prop (standard supervised learning) or not
651
654
*
655
+
* @deprecated doesn't affect training any more. Use {@link org.deeplearning4j.nn.graph.ComputationGraph#fit(MultiDataSet)} when training for backprop.
656
+
*
652
657
* @param backprop whether to do back prop or not
653
658
*/
659
+
@Deprecated
654
660
publicGraphBuilderbackprop(booleanbackprop) {
655
661
this.backprop = backprop;
656
662
returnthis;
@@ -659,8 +665,11 @@ public GraphBuilder backprop(boolean backprop) {
659
665
/**
660
666
* Whether to do layerwise pre training or not
661
667
*
668
+
* @deprecated doesn't affect training any more. Use {@link org.deeplearning4j.nn.graph.ComputationGraph#pretrain(MultiDataSetIterator)} when training for layerwise pretraining.
@@ -419,9 +420,13 @@ public Builder inputPreProcessors(Map<Integer, InputPreProcessor> processors) {
419
420
420
421
/**
421
422
* Whether to do back prop or not
423
+
*
424
+
* @deprecated doesn't affect training any more. Use {@link org.deeplearning4j.nn.multilayer.MultiLayerNetwork#fit(DataSetIterator)} when training for backprop.
425
+
*
422
426
* @param backprop whether to do back prop or not
423
427
* @return
424
428
*/
429
+
@Deprecated
425
430
publicBuilderbackprop(booleanbackprop) {
426
431
this.backprop = backprop;
427
432
returnthis;
@@ -506,9 +511,13 @@ public Builder tBPTTBackwardLength(int backwardLength) {
506
511
507
512
/**
508
513
* Whether to do pre train or not
514
+
*
515
+
* @deprecated doesn't affect training any more. Use {@link org.deeplearning4j.nn.multilayer.MultiLayerNetwork#pretrain(DataSetIterator)} when training for layerwise pretraining.
0 commit comments