public class CapsuleStrengthLayer extends SameDiffLambdaLayer
| Modifier and Type | Class and Description |
|---|---|
static class |
CapsuleStrengthLayer.Builder |
weightInitbiasUpdater, gradientNormalization, gradientNormalizationThreshold, regularization, regularizationBias, updaterconstraints, 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 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, initializeParametersfeedForwardMaskArray, instantiate, validateInputapplyGlobalConfig, applyGlobalConfigToLayer, getLayerParams, getMemoryReport, getPreProcessorForInputType, getRegularizationByParam, getUpdaterByParam, initializer, initWeights, isPretrainParam, onesMaskForInput, paramReshapeOrder, setNInclone, initializeConstraints, resetLayerDefaultConfig, setDataTypeequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetGradientNormalization, getGradientNormalizationThreshold, getLayerNamepublic CapsuleStrengthLayer(CapsuleStrengthLayer.Builder builder)
public SDVariable defineLayer(SameDiff SD, SDVariable layerInput)
SameDiffLambdaLayerdefineLayer in class SameDiffLambdaLayerSD - 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 © 2019. All rights reserved.