TensorFlow 2 version
|
View source on GitHub
|
Upsampling layer for 1D inputs.
Inherits From: Layer
tf.keras.layers.UpSampling1D(
size=2, **kwargs
)
Repeats each temporal step size times along the time axis.
Arguments | |
|---|---|
size
|
Integer. Upsampling factor. |
Input shape:
3D tensor with shape: (batch, steps, features).
Output shape:
3D tensor with shape: (batch, upsampled_steps, features).
TensorFlow 2 version
View source on GitHub