# tf.contrib.layers.sequence_to_images

<br />

|---|
| [![](https://www.tensorflow.org/images/GitHub-Mark-32px.png) View source on GitHub](https://github.com/tensorflow/tensorflow/blob/v1.15.0/tensorflow/contrib/layers/python/layers/layers.py#L2854-L2885) |

Convert a batch of sequences into a batch of images.

    tf.contrib.layers.sequence_to_images(
        inputs, height, output_data_format='channels_last', outputs_collections=None,
        scope=None
    )

<br />

<br />

<br />

| ## Args ||
|---|---|
| `inputs` | (num_steps, num_batches, depth) sequence tensor |
| `height` | the height of the images |
| `output_data_format` | Format of output tensor. Currently supports `'channels_first'` and `'channels_last'`. |
| `outputs_collections` | The collections to which the outputs are added. |
| `scope` | Optional scope for name_scope. |

<br />

<br />

<br />

<br />

| ## Returns ||
|---|---|
| A tensor representing the output of the operation. ||

<br />