TF 2.0 is out! Get hands-on practice at TF World, Oct 28-31. Use code TF20 for 20% off select passes. Register now

tf.keras.layers.UpSampling1D

TensorFlow 1 version View source on GitHub

Class UpSampling1D

Upsampling layer for 1D inputs.

Inherits From: Layer

Aliases:

  • Class tf.compat.v1.keras.layers.UpSampling1D
  • Class tf.compat.v2.keras.layers.UpSampling1D

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).

__init__

View source

__init__(
    size=2,
    **kwargs
)