RepeatVector layer
- 원본 링크 : https://keras.io/api/layers/reshaping_layers/repeat_vector/
- 최종 확인 : 2024-11-25
RepeatVector
class
keras.layers.RepeatVector(n, **kwargs)
Repeats the input n times.
Example
>>> x = keras.Input(shape=(32,))
>>> y = keras.layers.RepeatVector(3)(x)
>>> y.shape
(None, 3, 32)
Arguments
- n: Integer, repetition factor.
Input shape
2D tensor with shape (batch_size, features)
.
Output shape
3D tensor with shape (batch_size, n, features)
.