Fix tf.batch_gather rewrite rule
tf.batch_gather cannot be simply changed to tf.gather without setting the batch_dims arg. PiperOrigin-RevId: 233338117
This commit is contained in:
parent
f501504583
commit
29b27f3066
@ -423,7 +423,7 @@ class TFAPIChangeSpec(ast_edits.APIChangeSpec):
|
||||
"tf.batch_to_space_nd":
|
||||
"tf.batch_to_space",
|
||||
"tf.batch_gather":
|
||||
"tf.gather",
|
||||
"tf.compat.v1.batch_gather",
|
||||
"tf.space_to_batch_nd":
|
||||
"tf.space_to_batch",
|
||||
"tf.nn.space_to_batch":
|
||||
|
Loading…
x
Reference in New Issue
Block a user