deeplearning4j-core/src/main/java/org/deeplearning4j/nn/conf/NeuralNetConfiguration.java
/** Number of layers not including input. */
Number of layers not including input.
Number of layers not including input .
public ListBuilder list(int size) {
            Map<Integer, Builder> layerMap = new HashMap<>();
            for(int i = 0; i < size; i++)
                layerMap.put(i, clone());
            return new ListBuilder(layerMap);
        }
public ListBuilder list ( int size ) { Map < Integer , Builder > layerMap = new HashMap < > ( ) ; for ( int i = 0 ; i < size ; i ++ ) layerMap . put ( i , clone ( ) ) ; return new ListBuilder ( layerMap ) ; }
Number of layers not including input.
Number of layers not including input .