Javadoc
Add preprocessors automatically, given the specified types of inputs for the network. Inputs are specified using the
InputType class, in the same order in which the inputs were defined in the original configuration.
For example, in a network with two inputs: a convolutional input (28x28x1 images) and feed forward inputs, use
.addPreProcessors(InputType.convolutional(1,28,28),InputType.feedForward()).
For the CNN->Dense and CNN->RNN transitions, the nIns on the Dense/RNN layers will also be added automatically.
NOTE: This method will be called automatically when using the
GraphBuilder#setInputTypes(InputType...) functionality.
See that method for details.