diff options
author | Finn Williams <Finn.Williams@arm.com> | 2021-02-22 15:13:12 +0000 |
---|---|---|
committer | Jim Flynn <jim.flynn@arm.com> | 2021-03-03 17:06:43 +0000 |
commit | f806c4d075814a9dc9d206a4db123d3060ad7ebd (patch) | |
tree | a110c106598a6830d0862526742314f5048b8acb /tests/NetworkExecutionUtils/NetworkExecutionUtils.hpp | |
parent | 82c59d75ef0f191887fae1cc2864bbf4b37ac0c5 (diff) | |
download | armnn-f806c4d075814a9dc9d206a4db123d3060ad7ebd.tar.gz |
IVGCVSW-5612 Fix tiny_wav2letter_relu_fixed_int8 delegate outputexperimental/abi-tests
* fix delegate perchannel quantization
* change delegate to check reshape options before inputs
* Add int8 "qsymms8" option to ExecuteNetwork
* Add option to run ExecuteNetwork on tflite w/o delegate
!referencetests:301301
Signed-off-by: Finn Williams <Finn.Williams@arm.com>
Change-Id: If3e12599b17aff1199d7ab0a55e1c901e480083d
Diffstat (limited to 'tests/NetworkExecutionUtils/NetworkExecutionUtils.hpp')
-rw-r--r-- | tests/NetworkExecutionUtils/NetworkExecutionUtils.hpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/tests/NetworkExecutionUtils/NetworkExecutionUtils.hpp b/tests/NetworkExecutionUtils/NetworkExecutionUtils.hpp index 742f968a7a..d92c17c5e5 100644 --- a/tests/NetworkExecutionUtils/NetworkExecutionUtils.hpp +++ b/tests/NetworkExecutionUtils/NetworkExecutionUtils.hpp @@ -34,6 +34,8 @@ struct TensorPrinter void operator()(const std::vector<int>& values); + void operator()(const std::vector<int8_t>& values); + private: template<typename Container, typename Delegate> void ForEachValue(const Container& c, Delegate delegate); @@ -48,7 +50,8 @@ private: bool m_DequantizeOutput; }; -using TContainer = mapbox::util::variant<std::vector<float>, std::vector<int>, std::vector<unsigned char>>; +using TContainer = + mapbox::util::variant<std::vector<float>, std::vector<int>, std::vector<unsigned char>, std::vector<int8_t>>; using QuantizationParams = std::pair<float, int32_t>; void PopulateTensorWithData(TContainer& tensorData, |