[null,null,["Last updated 2024-04-26 UTC."],[],[],null,["# tf.compat.v1.batch_gather\n\n\u003cbr /\u003e\n\n|-------------------------------------------------------------------------------------------------------------------------------|\n| [View source on GitHub](https://github.com/tensorflow/tensorflow/blob/v2.16.1/tensorflow/python/ops/array_ops.py#L4983-L4996) |\n\nGather slices from params according to indices with leading batch dims. (deprecated) \n\n tf.compat.v1.batch_gather(\n params, indices, name=None\n )\n\n| **Deprecated:** THIS FUNCTION IS DEPRECATED. It will be removed after 2017-10-25. Instructions for updating: `tf.batch_gather` is deprecated, please use [`tf.gather`](../../../tf/gather) with `batch_dims=tf.rank(indices) - 1` instead."]]