From 50abb98b7db07adc78df883ffa7b6c6dd4273ffc Mon Sep 17 00:00:00 2001 From: Edward Loper Date: Wed, 5 Jun 2019 14:00:37 -0700 Subject: [PATCH] Clarify deprecation message for tf.batch_gather PiperOrigin-RevId: 251713089 --- tensorflow/python/ops/array_ops.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tensorflow/python/ops/array_ops.py b/tensorflow/python/ops/array_ops.py index 6595495808a..0409b7c8252 100644 --- a/tensorflow/python/ops/array_ops.py +++ b/tensorflow/python/ops/array_ops.py @@ -3485,7 +3485,7 @@ gather.__doc__ = gather_v2.__doc__ = gen_array_ops.gather_v2.__doc__ @dispatch.add_dispatch_support @deprecation.deprecated( "2017-10-25", "`tf.batch_gather` is deprecated, please use `tf.gather` " - "with `batch_dims` instead.") # pylint: disable=missing-docstring + "with `batch_dims=-1` instead.") # pylint: disable=missing-docstring def batch_gather(params, indices, name=None): """Gather slices from params according to indices with leading batch dims.""" with ops.name_scope(name, "BatchGather", [params, indices]):