From 49f0bdb7388dda406abe2fb6c1a6aa6f7cbd6f64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jonny=20Sv=C3=A4rd?= Date: Fri, 15 Mar 2024 15:27:18 +0000 Subject: Add INT64 support to inference_parser MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Change-Id: I2462632f3b87df193c69b277b0944eb4d5d0efac Signed-off-by: Jonny Svärd --- applications/inference_process/include/inference_parser.hpp | 6 ++++-- 1 file 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 - * + * SPDX-FileCopyrightText: Copyright 2022-2024 Arm Limited and/or its affiliates * 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; -- cgit v1.2.1