org.ea.javacnn.layers
Class InputLayer
- java.lang.Object
-
- org.ea.javacnn.layers.InputLayer
-
- All Implemented Interfaces:
- java.io.Serializable, Layer
public class InputLayer extends java.lang.Object implements Layer, java.io.Serializable
The input layer is a simple layer that will pass the data though and 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.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description InputLayer(OutputDefinition def, int out_sx, int out_sy, int out_depth)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description voidbackward()DataBlockforward(DataBlock db, boolean training)java.util.List<BackPropResult>getBackPropagationResult()
-
-
-
Constructor Detail
-
InputLayer
public InputLayer(OutputDefinition def, int out_sx, int out_sy, int out_depth)
-
-
Method Detail
-
getBackPropagationResult
public java.util.List<BackPropResult> getBackPropagationResult()
- Specified by:
getBackPropagationResultin interfaceLayer
-
-
DataMelt 3.0 © DataMelt by jWork.ORG