Clarify deprecation message for tf.batch_gather
PiperOrigin-RevId: 251713089
This commit is contained in:
parent
6811026756
commit
50abb98b7d
@ -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]):
|
||||
|
Loading…
Reference in New Issue
Block a user