Commit 0a1b9ed0 authored by Justin Lebar's avatar Justin Lebar Committed by TensorFlower Gardener
Browse files

[XLA] Add and use a layout-sensitive HLO verifier.

For now, this verifier checks some noncontroversial invariants, like:

 - Fusion operands and fusion computation parameters must have matching layouts.
 - Same for while loops, calls, kConditional.

It's a bit of a pain to add these explicit layout-sensitive and
allow-mixed-precision flags everywhere, but I think it's better than
adding default args.  With default args we can easily mix up the order,
and we'd only be able to add new flags to the end of the list.

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