[XLA] Attach an arity to each HloOpcode.
Remove per-op code in hlo_verifier and hlo_instruction.cc that checks instruction arities for non-variadic ops, use generic code instead. Refactoring only, NFC intended. This is a small step towards reducing the amount of boilerplate needed to define a new op. PiperOrigin-RevId: 235100117
Loading
Please sign in to comment