The shape of a RepeatVector layer output
Consider the following usage of the RepeatVector
layer
inp = Input(shape=(3,))
rep = RepeatVector(10)(inp)
model = Model(inputs=inp, outputs=rep)
If you pass x
of shape 8x3
to the model.predict()
function, what is the shape of the output?
This exercise is part of the course
Machine Translation with Keras
Hands-on interactive exercise
Turn theory into action with one of our interactive exercises
