How to get different length output using keras?
Its the number of features that has to remain consistent not the number of timestamps.
Outputs will be batches of one row predictions, so in your case its 1500 and than 1000. Model does not care, features should remain same. And beware of dataleakage with time series.