List of usage examples for org.deeplearning4j.nn.conf.inputs InputType recurrent
public static InputType recurrent(long size)
From source file:org.ensor.fftmusings.mdn.MixtureDensityRNNOutputLayer.java
License:Apache License
@Override public InputType getOutputType(int layerIndex, InputType inputType) { if (inputType == null || inputType.getType() != InputType.Type.RNN) { throw new IllegalStateException("Invalid input type for RnnOutputLayer (layer index = " + layerIndex + ", layer name=\"" + getLayerName() + "\"): Expected RNN input, got " + inputType); }/*w ww . ja va 2 s.c om*/ return InputType.recurrent(nOut); }