Package io.github.kirstenali.deepj.nn
Class LSTMCell
java.lang.Object
io.github.kirstenali.deepj.nn.Module
io.github.kirstenali.deepj.nn.RecurrentCell
io.github.kirstenali.deepj.nn.LSTMCell
LSTM with input/forget/candidate/output gate order and explicit cell memory.
-
Field Summary
Fields inherited from class io.github.kirstenali.deepj.nn.RecurrentCell
hiddenProjection, inputProjection -
Constructor Summary
ConstructorsConstructorDescriptionLSTMCell(int inputs, int hidden, Random random, ParameterFactory parameters) -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanprotected RecurrentStatenext(Tensor input, RecurrentState state) Methods inherited from class io.github.kirstenali.deepj.nn.RecurrentCell
children, forward, gate, hiddenSize, initialState, inputSize, stepMethods inherited from class io.github.kirstenali.deepj.nn.Module
buffers, eval, isTraining, parameters, setTraining, trainMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.github.kirstenali.deepj.layers.Layer
forward, supportsIncrementalInference
-
Constructor Details
-
LSTMCell
-
LSTMCell
-
-
Method Details
-
hasCellMemory
protected boolean hasCellMemory()- Overrides:
hasCellMemoryin classRecurrentCell
-
next
- Specified by:
nextin classRecurrentCell
-