Pytorch, Pytorch Rnn, Pytorch Mnist Dataset, Build Model With Pytorch.
Parameters: input_size — The number of expected features in the input x hidden_size — The number of features in the hidden state h num_layers — Number of recurrent layers. E.g., setting num_layers=2 would mean stacking two RNNs together to form a stacked RNN, with the second RNN taking in outputs