tf.compat.v1.batch_gather

View source on GitHub

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

tf.compat.v1.batch_gather(
    params, indices, name=None
)

Warning: THIS FUNCTION IS DEPRECATED. It will be removed after 2017-10-25. Instructions for updating: tf.batch_gather is deprecated, please use tf.gather with batch_dims=-1 instead.