tf.keras.backend.gather

Retrieves the elements of indices indices in the tensor reference.

Compat aliases for migration

See Migration guide for more details.

tf.compat.v1.keras.backend.gather

reference A tensor.
indices An integer tensor of indices.

A tensor of same type as reference.