커뮤니티
Python/TensorFlow
제목:    LSTM Repeat
  785   김윤중

inputEncoder=Input(shape=(4,1))    #seq_len=4, feat_dim=1
encoder = LSTM(112, return_sequences=True)(inputEncoder)
decoder = LSTM(1, return_sequences=True)(enoder)

 

inputEncoder=Input(shape=(5,1))    #seq_len=5, feat_dim=1
encoder = LSTM(112)(inputEncoder)
encoder = RecpeatVector(4)(encoder)
decoder = LSTM(1, return_sequences=True)(enoder)