On this page
tf.raw_ops.TensorListFromTensor
Creates a TensorList which, when stacked, has the value of tensor.
tf.raw_ops.TensorListFromTensor(
tensor, element_shape, name=None
)
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. |
© 2022 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 4.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/versions/r2.9/api_docs/python/tf/raw_ops/TensorListFromTensor