input_layer {CNN} R Documentation

The input layer is a simple layer that will pass the data though and

Description

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.

Usage

input_layer(size,
    depth = 1,
    c = 0);

Arguments

size

-

depth

[as integer]

c

[as double]

Details

Authors

MLkit

Value

this function returns data object of type CNNLayerArguments.

clr value class

Examples


[Package CNN version 1.0.0.0 Index]