W3cubDocs

/TensorFlow 2.4

tf.raw_ops.TensorListStack

Stacks all tensors in the list.

Requires that all tensors have the same shape.

input_handle: the input list tensor: the gathered result num_elements: optional. If not -1, the number of elements in the list.

Args
input_handle A Tensor of type variant.
element_shape A Tensor of type int32.
element_dtype A tf.DType.
num_elements An optional int. Defaults to -1.
name A name for the operation (optional).
Returns
A Tensor of type element_dtype.

© 2020 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/versions/r2.4/api_docs/python/tf/raw_ops/TensorListStack