aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonny Svärd <jonny.svaerd@arm.com>2024-03-15 15:27:18 +0000
committerJonny Svärd <jonny.svaerd@arm.com>2024-03-15 16:05:28 +0000
commit49f0bdb7388dda406abe2fb6c1a6aa6f7cbd6f64 (patch)
treed7e03e329c2592cb868a38aa25859fb3c6951e16
parentf309c200b5264159a0400de84b73bd5fa0a4c18b (diff)
downloadethos-u-core-software-master.tar.gz
Add INT64 support to inference_parserHEADmaster
Change-Id: I2462632f3b87df193c69b277b0944eb4d5d0efac Signed-off-by: Jonny Svärd <jonny.svaerd@arm.com>
-rw-r--r--applications/inference_process/include/inference_parser.hpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/applications/inference_process/include/inference_parser.hpp b/applications/inference_process/include/inference_parser.hpp
index 1251648..a4168f0 100644
--- a/applications/inference_process/include/inference_parser.hpp
+++ b/applications/inference_process/include/inference_parser.hpp
@@ -1,6 +1,5 @@
/*
- * SPDX-FileCopyrightText: Copyright 2022-2023 Arm Limited and/or its affiliates <open-source-office@arm.com>
- *
+ * SPDX-FileCopyrightText: Copyright 2022-2024 Arm Limited and/or its affiliates <open-source-office@arm.com>
* SPDX-License-Identifier: Apache-2.0
*
* Licensed under the Apache License, Version 2.0 (the License); you may
@@ -137,6 +136,9 @@ private:
case tflite::TensorType::TensorType_FLOAT32:
size = 4;
break;
+ case tflite::TensorType::TensorType_INT64:
+ size = 8;
+ break;
default:
printf("Warning: Unsupported tensor type\n");
return true;