Class LastTimeStep
- java.lang.Object
-
- org.deeplearning4j.nn.conf.layers.Layer
-
- org.deeplearning4j.nn.conf.layers.wrapper.BaseWrapperLayer
-
- org.deeplearning4j.nn.conf.layers.recurrent.LastTimeStep
-
- All Implemented Interfaces:
Serializable
,Cloneable
,TrainingConfig
public class LastTimeStep extends BaseWrapperLayer
- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.deeplearning4j.nn.conf.layers.Layer
Layer.Builder<T extends Layer.Builder<T>>
-
-
Field Summary
-
Fields inherited from class org.deeplearning4j.nn.conf.layers.wrapper.BaseWrapperLayer
underlying
-
Fields inherited from class org.deeplearning4j.nn.conf.layers.Layer
constraints, iDropout, layerName
-
-
Constructor Summary
Constructors Constructor Description LastTimeStep(Layer underlying)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InputType
getOutputType(int layerIndex, InputType inputType)
For a given type of input to this layer, what is the type of the output?Layer
getUnderlying()
Layer
instantiate(NeuralNetConfiguration conf, Collection<TrainingListener> trainingListeners, int layerIndex, INDArray layerParamsView, boolean initializeParams, DataType networkDataType)
-
Methods inherited from class org.deeplearning4j.nn.conf.layers.wrapper.BaseWrapperLayer
getGradientNormalization, getGradientNormalizationThreshold, getMemoryReport, getPreProcessorForInputType, getRegularizationByParam, initializer, isPretrainParam, setLayerName, setNIn
-
Methods inherited from class org.deeplearning4j.nn.conf.layers.Layer
clone, getUpdaterByParam, initializeConstraints, resetLayerDefaultConfig, setDataType
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.deeplearning4j.nn.api.TrainingConfig
getLayerName
-
-
-
-
Constructor Detail
-
LastTimeStep
public LastTimeStep(Layer underlying)
-
-
Method Detail
-
getUnderlying
public Layer getUnderlying()
-
instantiate
public Layer instantiate(NeuralNetConfiguration conf, Collection<TrainingListener> trainingListeners, int layerIndex, INDArray layerParamsView, boolean initializeParams, DataType networkDataType)
- Specified by:
instantiate
in classLayer
-
getOutputType
public InputType getOutputType(int layerIndex, InputType inputType)
Description copied from class:Layer
For a given type of input to this layer, what is the type of the output?- Overrides:
getOutputType
in classBaseWrapperLayer
- Parameters:
layerIndex
- Index of the layerinputType
- Type of input for the layer- Returns:
- Type of output from the layer
-
-