tf.keras.backend.gather

View source on GitHub

Retrieves the elements of indices indices in the tensor reference.

tf.keras.backend.gather(
    reference, indices
)

Arguments:

Returns:

A tensor of same type as reference.