Keras TimeDistributed - total weight?
From keras docs : Then you can use TimeDistributed
to apply a layer Dense
to each of the ten timestamps independently:
# 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)
I can't find it anywhere, Are the layer weights Dense
separated along the time axis?
+3
source to share