# tf.keras.layers.UpSampling1D

<br />

|---|---|
| [![](https://www.tensorflow.org/images/tf_logo_32px.png) TensorFlow 1 version](https://www.tensorflow.org/versions/r1.15/api_docs/python/tf/keras/layers/UpSampling1D) | [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/tensorflow/blob/v2.0.0/tensorflow/python/keras/layers/convolutional.py#L1881-L1913) |

Upsampling layer for 1D inputs.

Inherits From: [`Layer`](https://www.tensorflow.org/versions/r2.0/api_docs/python/tf/keras/layers/Layer)

#### View aliases


**Compat aliases for migration**

See
[Migration guide](https://www.tensorflow.org/guide/migrate) for
more details.

[`tf.compat.v1.keras.layers.UpSampling1D`](https://www.tensorflow.org/api_docs/python/tf/keras/layers/UpSampling1D)

<br />

    tf.keras.layers.UpSampling1D(
        size=2, **kwargs
    )

Repeats each temporal step `size` times along the time axis.

<br />

<br />

<br />

| ## Arguments ||
|---|---|
| `size` | Integer. Upsampling factor. |

<br />

#### Input shape:

3D tensor with shape: `(batch, steps, features)`.

#### Output shape:

3D tensor with shape: `(batch, upsampled_steps, features)`.