aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMichele Di Giorgio <michele.digiorgio@arm.com>2019-08-23 12:02:06 +0100
committerMichele Di Giorgio <michele.digiorgio@arm.com>2019-08-23 15:24:50 +0000
commit35ea9a7521b4b858a6bcc33a244b6e7f94b6e3a3 (patch)
tree570c1c70fcf06491188d8df4cc287e9ab8a3e640 /src
parent29a01c90fc372d31188ab7157b45b32ce24fa9b3 (diff)
downloadComputeLibrary-35ea9a7521b4b858a6bcc33a244b6e7f94b6e3a3.tar.gz
COMPMID-2317: Add new QASYMM16 data type
Change-Id: I9fbbba633f10d542474a08b1898150b9799b7ae5 Signed-off-by: Michele Di Giorgio <michele.digiorgio@arm.com> Reviewed-on: https://review.mlplatform.org/c/1805 Comments-Addressed: Arm Jenkins <bsgcomp@arm.com> Reviewed-by: Michalis Spyrou <michalis.spyrou@arm.com> Tested-by: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'src')
-rw-r--r--src/core/Utils.cpp1
-rw-r--r--src/runtime/CL/functions/CLLSTMLayerQuantized.cpp4
-rw-r--r--src/runtime/NEON/functions/NELSTMLayerQuantized.cpp2
3 files changed, 4 insertions, 3 deletions
diff --git a/src/core/Utils.cpp b/src/core/Utils.cpp
index d5d9d10e6b..122373f5c6 100644
--- a/src/core/Utils.cpp
+++ b/src/core/Utils.cpp
@@ -163,6 +163,7 @@ const std::string &arm_compute::string_from_data_type(DataType dt)
{ DataType::QASYMM8_PER_CHANNEL, "QASYMM8_PER_CHANNEL" },
{ DataType::QASYMM8, "QASYMM8" },
{ DataType::QSYMM16, "QSYMM16" },
+ { DataType::QASYMM16, "QASYMM16" },
};
return dt_map[dt];
diff --git a/src/runtime/CL/functions/CLLSTMLayerQuantized.cpp b/src/runtime/CL/functions/CLLSTMLayerQuantized.cpp
index e0006a77d0..da19cc1cc3 100644
--- a/src/runtime/CL/functions/CLLSTMLayerQuantized.cpp
+++ b/src/runtime/CL/functions/CLLSTMLayerQuantized.cpp
@@ -345,7 +345,7 @@ void CLLSTMLayerQuantized::run()
_tanh_output_state.run();
_mul_output_state_tmp_output_gate.run();
- // Requantize output state from QSYMM16 to QASYMM16
+ // Requantize output state from QSYMM16 to QASYMM8
_dequantize.run();
_quantize.run();
}
@@ -394,4 +394,4 @@ void CLLSTMLayerQuantized::prepare()
}
}
-} // namespace arm_compute \ No newline at end of file
+} // namespace arm_compute
diff --git a/src/runtime/NEON/functions/NELSTMLayerQuantized.cpp b/src/runtime/NEON/functions/NELSTMLayerQuantized.cpp
index 6cfa9887ff..96c776141a 100644
--- a/src/runtime/NEON/functions/NELSTMLayerQuantized.cpp
+++ b/src/runtime/NEON/functions/NELSTMLayerQuantized.cpp
@@ -324,7 +324,7 @@ void NELSTMLayerQuantized::run()
_tanh_output_state.run();
_mul3.run();
- // Requantize output state from QSYMM16 to QASYMM16
+ // Requantize output state from QSYMM16 to QASYMM8
_dequantize.run();
_quantize.run();
}