diff options
author | Georgios Pinitas <georgios.pinitas@arm.com> | 2019-11-11 18:24:22 +0000 |
---|---|---|
committer | Georgios Pinitas <georgios.pinitas@arm.com> | 2019-11-12 21:22:47 +0000 |
commit | 8217c8e4f488eb32733c481ab3a4d905069479f1 (patch) | |
tree | f54e10c459d5bc5b847ef0caba075a636d9f1df5 /tests/validation/Helpers.cpp | |
parent | 94e0cf960ea6116eb57fa88d9b951f859b52c602 (diff) | |
download | ComputeLibrary-8217c8e4f488eb32733c481ab3a4d905069479f1.tar.gz |
COMPMID-2895: Remove QASYMM8_PER_CHANNEL data type
Change-Id: I2d1b77370f8eceeaeae95306b4db5d90ababb76f
Signed-off-by: Georgios Pinitas <georgios.pinitas@arm.com>
Reviewed-on: https://review.mlplatform.org/c/2266
Reviewed-by: Michele Di Giorgio <michele.digiorgio@arm.com>
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'tests/validation/Helpers.cpp')
-rw-r--r-- | tests/validation/Helpers.cpp | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/tests/validation/Helpers.cpp b/tests/validation/Helpers.cpp index 95a5548628..e362e05b81 100644 --- a/tests/validation/Helpers.cpp +++ b/tests/validation/Helpers.cpp @@ -335,15 +335,6 @@ std::pair<int, int> get_symm_quantized_per_channel_bounds(const QuantizationInfo return std::pair<int, int> { min_bound, max_bound }; } -std::pair<int, int> get_asymm_quantized_per_channel_bounds(const QuantizationInfo &quant_info, float min, float max, size_t channel_id) -{ - ARM_COMPUTE_ERROR_ON_MSG(min > max, "min must be lower equal than max"); - - const int min_bound = quantize_qasymm8_per_channel(min, quant_info, channel_id); - const int max_bound = quantize_qasymm8_per_channel(max, quant_info, channel_id); - return std::pair<int, int> { min_bound, max_bound }; -} - template void get_tile(const SimpleTensor<float> &in, SimpleTensor<float> &roi, const Coordinates &coord); template void get_tile(const SimpleTensor<half> &in, SimpleTensor<half> &roi, const Coordinates &coord); template void get_tile(const SimpleTensor<int> &in, SimpleTensor<int> &roi, const Coordinates &coord); |