This question was updated, I write in following comment .
I want to make RNN to be as follow
input(t) = output(t-1)
In pytorch’s RNN, the time series data, the input are generally obvious from the beginning.
But this case isn’t because the input depend on its output.
So, I think, There are only way to do this is for statement in this case,
but I also know that for statement in python is too slow,
and this is the reason why I’m thinking to be used PyTorch.
Is there any ideas?
Thank you for reading.