public class FlattenLayer extends AbstractLayer
Constructor and Description |
---|
FlattenLayer() |
Modifier and Type | Method and Description |
---|---|
void |
applyWeightChanges()
Applies weight changes to current weights Must be diferent for
convolutional does nothing for MaxPooling Same for FullyConnected and
OutputLayer
|
void |
backward()
This method should implement backward pass in subclasses
|
void |
forward()
This method should implement forward pass in subclasses
|
void |
init()
This method should implement layer initialization in subclasses, when a layer is added to
the network (create weights, outputs, deltas, randomization etc.).
|
void |
setOptimizerType(OptimizerType optType) |
String |
toString() |
getActivation, getActivationType, getBatchSize, getBiases, getDeltaBiases, getDeltas, getDeltaWeights, getDepth, getGradients, getHeight, getL1Regularization, getL1WeightSum, getL2Regularization, getL2WeightSum, getLearningRate, getMomentum, getNextLayer, getOptimizer, getOptimizerType, getOutputs, getPrevDeltaBiases, getPrevDeltaWeights, getPrevlayer, getWeights, getWidth, initTransientFields, isBatchMode, isTrainable, setBatchMode, setBatchSize, setBiases, setDeltas, setL1Regularization, setL2Regularization, setLearningRate, setMomentum, setNextlayer, setOutputs, setPrevDeltaWeights, setPrevLayer, setTrainable, setWeights, setWeights
public void init()
AbstractLayer
init
in class AbstractLayer
public void forward()
AbstractLayer
forward
in interface Layer
forward
in class AbstractLayer
public void backward()
AbstractLayer
backward
in interface Layer
backward
in class AbstractLayer
public void setOptimizerType(OptimizerType optType)
setOptimizerType
in class AbstractLayer
public void applyWeightChanges()
AbstractLayer
applyWeightChanges
in class AbstractLayer
Copyright © 2022. All rights reserved.