Thanks for pointing out this issue. Could you create an issue on GitHub, so that we can track and fix it?
Based on the current code snippet I assume the example should use 6 time steps, so input would have to be initialized as e.g. torch.randn(6, 3, 10).