Creates a TensorList which, when stacked, has the value of tensor.

Each tensor in the result list corresponds to one row of the input tensor.

tensor: The input tensor. output_handle: The list.

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

A Tensor of type variant.