Upsampling layer for 1D inputs.
Inherits From: Layer
View aliases
Compat aliases for migration
See Migration guide for more details.
tf.compat.v1.keras.layers.UpSampling1D
, `tf.compat.v2.keras.layers.UpSampling1D`
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)
.