public class CustomBroadcast
extends org.deeplearning4j.nn.conf.layers.samediff.SameDiffLambdaLayer
Constructor and Description |
---|
CustomBroadcast()
Instantiate the layer.
|
CustomBroadcast(long width)
Instantiate the layer with the supplied width.
|
Modifier and Type | Method and Description |
---|---|
org.nd4j.autodiff.samediff.SDVariable |
defineLayer(org.nd4j.autodiff.samediff.SameDiff sd,
org.nd4j.autodiff.samediff.SDVariable x) |
org.deeplearning4j.nn.conf.inputs.InputType |
getOutputType(int layerIndex,
org.deeplearning4j.nn.conf.inputs.InputType inputType) |
defineLayer, defineParameters, initializeParameters
equals, feedForwardMaskArray, getParamWeightInit, getWeightInit, hashCode, instantiate, setParamWeightInit, setWeightInit, toString, validateInput
applyGlobalConfig, applyGlobalConfigToLayer, getBiasUpdater, getGradientNormalization, getGradientNormalizationThreshold, getLayerParams, getMemoryReport, getPreProcessorForInputType, getRegularization, getRegularizationBias, getRegularizationByParam, getUpdater, getUpdaterByParam, initializer, isPretrainParam, onesMaskForInput, paramReshapeOrder, setBiasUpdater, setGradientNormalization, setGradientNormalizationThreshold, setLayerParams, setNIn, setRegularization, setRegularizationBias, setUpdater
public CustomBroadcast()
public CustomBroadcast(long width)
width
- Desired Widthpublic org.nd4j.autodiff.samediff.SDVariable defineLayer(org.nd4j.autodiff.samediff.SameDiff sd, org.nd4j.autodiff.samediff.SDVariable x)
defineLayer
in class org.deeplearning4j.nn.conf.layers.samediff.SameDiffLambdaLayer
public org.deeplearning4j.nn.conf.inputs.InputType getOutputType(int layerIndex, org.deeplearning4j.nn.conf.inputs.InputType inputType)
getOutputType
in class org.deeplearning4j.nn.conf.layers.samediff.SameDiffLambdaLayer