tf.raw_ops.TensorListSplit

Splits a tensor into a list.

list[i] corresponds to lengths[i] tensors from the input tensor. The tensor must have rank at least 1 and contain exactly sum(lengths) elements.

tensor: The input tensor. element_shape: A shape compatible with that of elements in the tensor. lengths: Vector of sizes of the 0th dimension of tensors in the list. output_handle: The list.

tensor A Tensor.
element_shape A Tensor. Must be one of the following types: int32, int64.
lengths A Tensor of type int64.
name A name for the operation (optional).

A Tensor of type variant.