Make operand count validation stricter

This fixes some surprizing logic in validateOperationOperandTypes.
Due to the validation we do before calling validateOperationOperandTypes,
I expect this change to have no effect.

Test: NeuralNetworksTest_static_asan
Change-Id: I6b29841667fbf8d26954470d9545a0a518167937
Merged-In: I6b29841667fbf8d26954470d9545a0a518167937
(cherry picked from commit c092aff11e2d46892422ecf5aeaaa19913b10394)
1 file changed
tree: ce45f41a65be4625557e9de7867e28d5538b0d30
  1. nn/
  2. .clang-format
  3. CleanSpec.mk
  4. OWNERS
  5. PREUPLOAD.cfg