1
從keras docs:然後可以使用TimeDistributed
爲Dense
層應用到每個10個時間步長,獨立:Keras TimeDistributed - 權重是否共享?
# as the first layer in a model
model = Sequential()
model.add(TimeDistributed(Dense(8), input_shape=(10, 16)))
# now model.output_shape == (None, 10, 8)
# subsequent layers: no need for input_shape
model.add(TimeDistributed(Dense(32)))
# now model.output_shape == (None, 10, 32)
我找不到它的任何地方,都Dense
層的權重跨時間軸共享?
謝謝,有一定的參考可能會更好,但我認爲他們像90%的共享,你似乎你知道你在說些什麼,我相信你:)不錯的新功能,以2D的投入,順便說一句。 –
是的 - 我喜歡Francois開發'Keras'的方式:) –