How to implement bidirection using RNNCell?

Hello, I am a student studying pytorch.

I want to implement bidirection using RNNCell.

If nn.RNN is below

torch.nn.RNN(input_size=1, hidden_size=1, num_layers=2, batch_first=True, bidirectional=Ture)

What is nn.RNNCell?