tf.contrib.layers.images_to_sequence( inputs, data_format=DATA_FORMAT_NHWC, outputs_collections=None, scope=None )
Defined in tensorflow/contrib/layers/python/layers/layers.py
.
Convert a batch of images into a batch of sequences.
inputs
: a (num_images, height, width, depth) tensordata_format
: A string. NHWC
(default) and NCHW
are supported.outputs_collections
: The collections to which the outputs are added.scope
: Optional scope for name_scope.(width, num_images*height, depth) sequence tensor
© 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/images_to_sequence