Commit 637f6cc5 authored by Benjamin Kramer's avatar Benjamin Kramer Committed by TensorFlower Gardener
Browse files

[XLA] Restrict kMap inlining to elementwise non-fusion instructions

For instructions that cannot take arbitrary shapes changing the operand to a
different shape will create invalid HLO.

This is a bit awkward because XLA doesn't have a clear concept of "instruction
that can process any shape", but I think kLoop fusion is the only elementwise
op where this isn't true.

PiperOrigin-RevId: 236279529
parent b4955306
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment