RNN with multidimensional input_size and hidden_size?

I need to implement an RNN network with multidimensional inputs and hidden states. I was able to do it in Tensorflow by defining input_size and state_size with tuples, but it seems RNN in PyTorch only supports int size? Or did I miss something?

Thanks!