tf.nn.rnn_cell.MultiRNNCell.__init__(cells, state_is_tuple=True)
Create a RNN cell composed sequentially of a number of RNNCells.
Args:
-
cells
: list of RNNCells that will be composed in this order. -
state_is_tuple
: If True, accepted and returned states are n-tuples, wheren = len(cells)
. If False, the states are all concatenated along the column axis. This latter behavior will soon be deprecated.
Raises:
-
ValueError
: if cells is empty (not allowed), or at least one of the cells returns a state tuple but the flagstate_is_tuple
isFalse
.
Please login to continue.