I have training data in the shape of (-1, 10)
and I want to apply a different Dense layer to each timestep. Currently, I tried to achieve this by reshaping input to (-1, 20, 1)
and then using a TimeDistributed(Dense(10))
layer on top. However, that appears to apply the same Dense layer to each timestep, so timesteps share the weights. Any way to do that?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…