W3cubDocs

/TensorFlow Python

tf.contrib.layers.sequence_to_images

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

Defined in tensorflow/contrib/layers/python/layers/layers.py.

Convert a batch of sequences into a batch of images.

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.

Returns:

A tensor representing the output of the operation.

© 2018 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/api_docs/python/tf/contrib/layers/sequence_to_images