class tf.contrib.rnn.FusedRNNCellAdaptor
Defined in tensorflow/contrib/rnn/python/ops/fused_rnn_cell.py.
See the guide: RNN and Cells (contrib) > Core RNN Cell wrappers (RNNCells that wrap other RNNCells)
This is an adaptor for RNNCell classes to be used with FusedRNNCell.
Methods
__init__
__init__(
cell,
use_dynamic_rnn=False
)
Initialize the adaptor.
Args:
cell: an instance of a subclass of arnn_cell.RNNCell.use_dynamic_rnn: whether to use dynamic (or static) RNN.
__call__
__call__(
inputs,
initial_state=None,
dtype=None,
sequence_length=None,
scope=None
)
