# How to get different length output using keras?

I am working on a time-series kind of problem. I have (timesteps, features) and the length of output will be (timesteps,). All outputs as float numbers. But the problem is I have training samples with different timesteps. Suppose one example has 1500 timesteps then it will output 1500 dimensional vector. Another example has 1000 timesteps and it will have 1000 dimensional output.

I am looking for a way to train such a model using keras.