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

tf.keras.backend.gather

TensorFlow 1 version View source on GitHub

Retrieves the elements of indices indices in the tensor reference.

reference A tensor.
indices An integer tensor of indices.

A tensor of same type as reference.