public static final class GRU.Builder extends RecurrentBlock.BaseBuilder<GRU.Builder>
activation, batchFirst, bidirectional, dropRate, hasBiases, numLayers, returnState, stateSize
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
GRU |
build()
Builds a
GRU block. |
protected GRU.Builder |
self() |
optBatchFirst, optBidirectional, optDropRate, optHasBiases, optReturnState, setNumLayers, setStateSize
protected GRU.Builder self()
self
in class RecurrentBlock.BaseBuilder<GRU.Builder>