tf.contrib.rnn.FusedRNNCellAdaptor

Class FusedRNNCellAdaptor

Inherits From: FusedRNNCell

Defined in tensorflow/contrib/rnn/python/ops/fused_rnn_cell.py.

This is an adaptor for RNNCell classes to be used with FusedRNNCell.

__init__

__init__(
    cell,
    use_dynamic_rnn=False
)

Initialize the adaptor.

Args:

  • cell: an instance of a subclass of a rnn_cell.RNNCell.
  • use_dynamic_rnn: whether to use dynamic (or static) RNN.

Methods

__call__

__call__(
    inputs,
    initial_state=None,
    dtype=None,
    sequence_length=None,
    scope=None
)