As usual, you don't always need a deep learning solution
can be thought of as approximating the order polynomial



tanhn inputs, n outputsn inputs are predicted at each time step instead of just at the end| Input | Target | |
|---|---|---|
| 1 | [0, 1, 2] |
[1, 2, 3] |
| 2 | [0, 1, 2] |
[[1, 2], [2, 3], [3, 4]] |
| 3 | [0, 1, 2] |
[[1, 2, 3], [2, 3, 4], [3, 4, 5]] |

