input_layer {CNN} | R Documentation |
create a window into the full training data set. So for instance if
we have an image of size 28x28x1 which means that we have 28 pixels
in the x axle and 28 pixels in the y axle and one color (gray scale),
then this layer might give you a window of another size example 24x24x1
that is randomly chosen in order to create some distortion into the
dataset so the algorithm don't over-fit the training.
input_layer(size,
depth = 1,
c = 0);