'Keras Time series generator - input is "X" long, output is "X - length" long

I believe this is due to the TimeSeriesGenerator setting the start_index to equal the length. When applying the saved model, I would like to have the input and output series be the same length. Is there a way to force the start_index to zero, or pad the input series before going into the generator?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source