tf.contrib.layers.images_to_sequence
Convert a batch of images into a batch of sequences.
tf.contrib.layers.images_to_sequence(
inputs, data_format=DATA_FORMAT_NHWC, outputs_collections=None, scope=None
)
Args |
inputs
|
a (num_images, height, width, depth) tensor
|
data_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.
|
Raises |
ValueError
|
If data_format is not either NCHW or NHWC.
|
Returns |
(width, num_images*height, depth) sequence tensor
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2020-10-01 UTC.
[null,null,["Last updated 2020-10-01 UTC."],[],[]]