ML Community Day is November 9! Join us for updates from TensorFlow, JAX, and more Learn more


Creates a Tensor by indexing into the TensorList.

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.

input_handle A Tensor of type variant.
indices A Tensor of type int32.
element_shape A Tensor of type int32.
element_dtype A tf.DType.
name A name for the operation (optional).

A Tensor of type element_dtype.