public class IdentityLayer extends SameDiffLambdaLayer
SameDiffLayer.Builder<T extends SameDiffLayer.Builder<T>>
weightInit
biasUpdater, gradientNormalization, gradientNormalizationThreshold, regularization, regularizationBias, updater
constraints, iDropout, layerName
Constructor and Description |
---|
IdentityLayer(String name) |
Modifier and Type | Method and Description |
---|---|
SDVariable |
defineLayer(SameDiff sameDiff,
SDVariable layerInput)
The defineLayer method is used to define the foward pass for the layer
|
InputType |
getOutputType(int layerIndex,
InputType inputType)
For a given type of input to this layer, what is the type of the output?
|
defineLayer, defineParameters, initializeParameters
feedForwardMaskArray, instantiate, validateInput
applyGlobalConfig, applyGlobalConfigToLayer, getLayerParams, getMemoryReport, getPreProcessorForInputType, getRegularizationByParam, getUpdaterByParam, initializer, initWeights, isPretrainParam, onesMaskForInput, paramReshapeOrder, setNIn
clone, initializeConstraints, resetLayerDefaultConfig, setDataType
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getGradientNormalization, getGradientNormalizationThreshold, getLayerName
public IdentityLayer(String name)
public SDVariable defineLayer(SameDiff sameDiff, SDVariable layerInput)
SameDiffLambdaLayer
defineLayer
in class SameDiffLambdaLayer
sameDiff
- SameDiff instance to use to define the vertexlayerInput
- Layer input variablepublic InputType getOutputType(int layerIndex, InputType inputType)
Layer
getOutputType
in class SameDiffLambdaLayer
layerIndex
- Index of the layerinputType
- Type of input for the layerCopyright © 2019. All rights reserved.