tf.raw_ops.TensorListGetItem
Returns the item in the list with the given index.
tf.raw_ops.TensorListGetItem(
input_handle, index, element_shape, element_dtype, name=None
)
input_handle: the list index: the position in the list from which an element will be retrieved item: the element at that position
| Args | |
|---|---|
input_handle | A Tensor of type variant. |
index | A Tensor of type int32. |
element_shape | A Tensor of type int32. |
element_dtype | A tf.DType. |
name | A name for the operation (optional). |
| Returns | |
|---|---|
A Tensor of type element_dtype. |
© 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/TensorListGetItem