tf.compat.v1.batch_gather

Gather slices from params according to indices with leading batch dims. (deprecated)