- **final_states** (Tensor|list|tuple): final states of the cell. Tensor or a possibly nested structure of tensors which has the same structure with intial state. Each tensor in final states has the same shape and dtype as the corresponding tensor in initial states.
- **final_states** (Tensor|list|tuple): final states of the cell. Tensor or a possibly nested structure of tensors which has the same structure with intial state. Each tensor in final states has the same shape and dtype as the corresponding tensor in initial states.
Notes:
Notes:
This class is a lowlevel API for wrapping rnn cell into a RNN network.
This class is a low-level API for wrapping rnn cell into a RNN network.
Users should take care of the state of the cell. If `initial_states` is
Users should take care of the state of the cell. If `initial_states` is
passed to the `forward` method, make sure that it satisfies the
passed to the `forward` method, make sure that it satisfies the