public class CapsuleStrengthLayer extends SameDiffLambdaLayer
Modifier and Type | Class and Description |
---|---|
static class |
CapsuleStrengthLayer.Builder |
paramWeightInit, weightInit
biasUpdater, gradientNormalization, gradientNormalizationThreshold, regularization, regularizationBias, updater
constraints, iDropout, layerName
Constructor and Description |
---|
CapsuleStrengthLayer(CapsuleStrengthLayer.Builder builder) |
Modifier and Type | Method and Description |
---|---|
SDVariable |
defineLayer(SameDiff SD,
SDVariable layerInput)
The defineLayer method is used to define the forward 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 CapsuleStrengthLayer(CapsuleStrengthLayer.Builder builder)
public SDVariable defineLayer(SameDiff SD, SDVariable layerInput)
SameDiffLambdaLayer
defineLayer
in class SameDiffLambdaLayer
SD
- 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 © 2022. All rights reserved.