aboutsummaryrefslogtreecommitdiff
path: root/utils/Utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'utils/Utils.h')
-rw-r--r--utils/Utils.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/utils/Utils.h b/utils/Utils.h
index 0bbdcc25d1..130e1f72fe 100644
--- a/utils/Utils.h
+++ b/utils/Utils.h
@@ -357,7 +357,7 @@ public:
void fill_tensor(T &tensor)
{
ARM_COMPUTE_ERROR_ON(!is_open());
- ARM_COMPUTE_ERROR_ON_DATA_TYPE_NOT_IN(&tensor, arm_compute::DataType::F32);
+ ARM_COMPUTE_ERROR_ON_DATA_TYPE_NOT_IN(&tensor, arm_compute::DataType::QASYMM8, arm_compute::DataType::S32, arm_compute::DataType::F32);
try
{
// Map buffer if creating a CLTensor
@@ -413,6 +413,8 @@ public:
switch(tensor.info()->data_type())
{
+ case arm_compute::DataType::QASYMM8:
+ case arm_compute::DataType::S32:
case arm_compute::DataType::F32:
{
// Read data