public abstract class RecurrentCell extends ParameterBlock
| Modifier and Type | Class and Description |
|---|---|
static class |
RecurrentCell.BaseBuilder<T extends RecurrentCell.BaseBuilder>
The Builder to construct a
RecurrentCell type of Block. |
| Modifier and Type | Field and Description |
|---|---|
protected float |
dropRate |
protected java.lang.String |
mode |
protected int |
numStackedLayers |
protected boolean |
stateOutputs |
protected long |
stateSize |
protected boolean |
useBidirectional |
protected boolean |
useSequenceLength |
inputNames, inputShapes| Constructor and Description |
|---|
RecurrentCell(RecurrentCell.BaseBuilder<?> builder)
Creates a
RecurrentCell object. |
| Modifier and Type | Method and Description |
|---|---|
protected void |
validateInputSize(NDList inputs) |
getChildren, initialize, toStringbeforeInitialize, cast, clear, describeInput, getParameters, isInitialized, setInitializer, setInitializerclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitforward, forward, getDirectParameters, getOutputShapes, getParameterShape, loadParameters, saveParameters, validateLayoutprotected long stateSize
protected float dropRate
protected int numStackedLayers
protected java.lang.String mode
protected boolean useSequenceLength
protected boolean useBidirectional
protected boolean stateOutputs
public RecurrentCell(RecurrentCell.BaseBuilder<?> builder)
RecurrentCell object.builder - the Builder that has the necessary configurationsprotected void validateInputSize(NDList inputs)