lstm

How to use TimeDistributed layer for predicting sequences of dynamic length? PYTHON 3

孤人 提交于 2020-08-26 09:01:49
问题 So I am trying to build an LSTM based autoencoder, which I want to use for the time series data. These are spitted up to sequences of different lengths. Input to the model has thus shape [None, None, n_features], where the first None stands for number of samples and the second for time_steps of the sequence. The sequences are processed by LSTM with argument return_sequences = False, coded dimension is then recreated by function RepeatVector and ran through LSTM again. In the end I would like