commit | 25f0f2dcd7049cd9f8a60133697dff114bbbf00e | [log] [tgz] |
---|---|---|
author | Miao Wang <miaowang@google.com> | Thu Sep 28 14:41:37 2017 -0700 |
committer | Miao Wang <miaowang@google.com> | Fri Sep 29 11:33:12 2017 -0700 |
tree | a5a959e44165267a7afc4671201f2ec3473760f1 | |
parent | f38818fb527204ca428ac5a43f4be35c48e5578e [diff] |
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