Allow ADD and MUL taking quantized input.

  - Implement the quant8 path for ADD and MUL.
  - Add tests for quant8 ADD and MUL, both normal and broadcast version.
  - Add validation for quantization parameters, forcing scale >= 0 and
    zeroPoint in range [0, 255] for QUANT8_ASYMM type operands.

Bug: 63905942
Test: mm
Test: NeuralNetworksTest pass
Change-Id: Ib643217737af9624a079369e0aea792025223fbb
22 files changed
tree: a5a959e44165267a7afc4671201f2ec3473760f1
  1. nn/
  2. Android.bp