Commit 9b5f3d67 authored by Peter Hawkins's avatar Peter Hawkins Committed by TensorFlower Gardener
Browse files

[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
parent d2022b83
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment