Gather specific elements from the TensorArray into output value.

All elements selected by indices must have the same shape.

handle A Tensor of type resource. The handle to a TensorArray.
indices A Tensor of type int32. The locations in the TensorArray from which to read tensor elements.
flow_in A Tensor of type float32. A float scalar that enforces proper chaining of operations.
dtype A tf.DType. The type of the elem that is returned.
element_shape An optional tf.TensorShape or list of ints. Defaults to None. The expected shape of an element, if known. Used to validate the shapes of TensorArray elements. If this shape is not fully specified, gathering zero-size TensorArrays is an error.
name A name for the operation (optional).

A Tensor of type dtype.