tf.nn.rnn_cell.MultiRNNCell.__init__()

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, where n = 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 flag state_is_tuple is False.
doc_TensorFlow
2016-10-14 13:08:36
Comments
Leave a Comment

Please login to continue.