tf.raw_ops.TensorListFromTensor

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.

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

© 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/TensorListFromTensor