開始使用免費開始

RepeatVector 層輸出的形狀

考慮以下 RepeatVector 層的用法:

inp = Input(shape=(3,))
rep = RepeatVector(10)(inp)
model = Model(inputs=inp, outputs=rep)

如果把形狀為 8x3x 傳入 model.predict(),輸出的形狀會是什麼?

本練習屬於課程

使用 Keras 進行機器翻譯

檢視課程

動手互動練習

將理論付諸實踐,立即體驗我們的互動練習

開始練習