Fixes shape setting in tf2xla.gather
PiperOrigin-RevId: 306877898 Change-Id: Icdaf04ef63d5cb3a3757d5b7514b76f4e4add44b
This commit is contained in:
parent
ffb230a4b7
commit
fcb0534cc5
@ -674,7 +674,7 @@ REGISTER_OP("XlaGather")
|
|||||||
.Attr("T: numbertype")
|
.Attr("T: numbertype")
|
||||||
.Attr("Tindices: {int32, int64}")
|
.Attr("Tindices: {int32, int64}")
|
||||||
.Output("output: T")
|
.Output("output: T")
|
||||||
.SetShapeFn(UnchangedRank)
|
.SetShapeFn(shape_inference::UnknownShape)
|
||||||
.Doc(R"doc(
|
.Doc(R"doc(
|
||||||
Wraps the XLA Gather operator documented at
|
Wraps the XLA Gather operator documented at
|
||||||
https://www.tensorflow.org/xla/operation_semantics#gather
|
https://www.tensorflow.org/xla/operation_semantics#gather
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user