Looks up embeddings for the given ids from a list of tensors.

Used in the notebooks

Used in the guide

This function is used to perform parallel lookups on the list of tensors in params. It is a generalization of tf.gather, where params is interpreted as a partitioning of a large embedding tensor.