[xla] Improve validation of Broadcast shape
If one misreads the semantics of this instruction, it's easy to cause an out of bounds access into the dimensions here. Add an extra check to return a proper error to the user rather than crashing in that case. Ref #22130
Loading
Please sign in to comment