public class SoftmaxOutputLayer extends OutputLayer
Constructor and Description |
---|
SoftmaxOutputLayer(int width) |
Modifier and Type | Method and Description |
---|---|
void |
backward()
This method implements backward pass for the output layer.
|
void |
forward()
This method implements forward pass for the output layer.
|
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 |
initTransientFields() |
applyWeightChanges, getLossType, getOutputErrors, getSingleOutInput, setLossType, setOutputErrors, 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, isBatchMode, isTrainable, setBatchMode, setBatchSize, setBiases, setDeltas, setL1Regularization, setL2Regularization, setLearningRate, setMomentum, setNextlayer, setOptimizerType, setOutputs, setPrevDeltaWeights, setPrevLayer, setTrainable, setWeights, setWeights
public void init()
AbstractLayer
init
in class OutputLayer
public void initTransientFields()
initTransientFields
in class AbstractLayer
public void forward()
forward
in interface Layer
forward
in class OutputLayer
public void backward()
OutputLayer
backward
in interface Layer
backward
in class OutputLayer
Copyright © 2022. All rights reserved.