public class IdentityLayer extends SameDiffLambdaLayer
SameDiffLayer.Builder<T extends SameDiffLayer.Builder<T>>weightInitbiasUpdater, gradientNormalization, gradientNormalizationThreshold, l1, l1Bias, l2, l2Bias, updaterconstraints, 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, initializeParametersinstantiateapplyGlobalConfig, applyGlobalConfigToLayer, getL1ByParam, getL2ByParam, getLayerParams, getMemoryReport, getPreProcessorForInputType, getUpdaterByParam, initializer, initWeights, isPretrain, isPretrainParam, paramReshapeOrder, setNInclone, initializeConstraints, resetLayerDefaultConfig, setPretrainequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetGradientNormalization, getGradientNormalizationThreshold, getLayerNamepublic IdentityLayer(String name)
public SDVariable defineLayer(SameDiff sameDiff, SDVariable layerInput)
SameDiffLambdaLayerdefineLayer in class SameDiffLambdaLayersameDiff - SameDiff instance to use to define the vertexlayerInput - Layer input variablepublic InputType getOutputType(int layerIndex, InputType inputType)
LayergetOutputType in class SameDiffLambdaLayerlayerIndex - Index of the layerinputType - Type of input for the layerCopyright © 2018. All rights reserved.