Stacks all tensors in the list.
tf.raw_ops.TensorListStack(
input_handle, element_shape, element_dtype, num_elements=-1, name=None
)
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 .
|