On this page
tf.raw_ops.TensorListGather
Creates a Tensor by indexing into the TensorList.
tf.raw_ops.TensorListGather(
    input_handle, indices, element_shape, element_dtype, name=None
)
Each row in the produced Tensor corresponds to the element in the TensorList specified by the given index (see tf.gather).
input_handle: The input tensor list. indices: The indices used to index into the list. values: The tensor.
| Args | |
|---|---|
| input_handle | A Tensorof typevariant. | 
| indices | A Tensorof typeint32. | 
| element_shape | A Tensorof typeint32. | 
| element_dtype | A tf.DType. | 
| name | A name for the operation (optional). | 
| Returns | |
|---|---|
| A Tensorof typeelement_dtype. | 
© 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/TensorListGather