tf.contrib.keras.backend.gather

tf.contrib.keras.backend.gather

gather(
    reference,
    indices
)

Defined in tensorflow/contrib/keras/python/keras/backend.py.

Retrieves the elements of indices indices in the tensor reference.

Arguments:

reference: A tensor.
indices: An integer tensor of indices.

Returns:

A tensor of same type as `reference`.