[XLA] Try to validate that shape sizes are sane.
This won't catch all overflows, but will do the right thing for the "normal" flow. Also fix layout validation to reject padded sparse layouts. PiperOrigin-RevId: 202151215
Loading
Please sign in to comment