Question: can rnn be used for image classification?
Answer: The example is using MNIST, but it can be applied to any image. However, I'll point out that you're unlikely to find many examples of using an RNN to classify an image because RNNs are inferior to CNNs for most image processing tasks.