Explicitly specify no gradient for XlaVariadicReduce.
PiperOrigin-RevId: 346909834 Change-Id: I9a7b9c81a3cb5245d668e15778384ac6136bf3b2
This commit is contained in:
parent
a2d2b5c3d5
commit
ce51d59796
@ -342,6 +342,8 @@ recv = gen_xla_ops.xla_recv
|
||||
reduce = gen_xla_ops.xla_reduce
|
||||
variadic_reduce = gen_xla_ops.xla_variadic_reduce
|
||||
|
||||
ops.no_gradient("XlaVariadicReduce")
|
||||
|
||||
|
||||
def reduce_window(operand,
|
||||
init,
|
||||
|
Loading…
x
Reference in New Issue
Block a user