tf.compat.v1.nn.rnn_cell.ResidualWrapper

View source on GitHub

RNNCell wrapper that ensures cell inputs are added to the outputs.

tf.compat.v1.nn.rnn_cell.ResidualWrapper(
    *args, **kwargs
)

Args:

Attributes:

Methods

get_initial_state

View source

get_initial_state(
    inputs=None, batch_size=None, dtype=None
)

zero_state

View source

zero_state(
    batch_size, dtype
)