From b07f461002ebb358ce2136dd4e4960d4a98d1757 Mon Sep 17 00:00:00 2001 From: MyungJoo Ham Date: Mon, 9 Aug 2021 12:06:36 +0900 Subject: [PATCH] [ML] Update NNFWType name of TRIx NPU Series SRNPU is an unofficial name of TRIx NPU series. Update the name with the official name. Fortuately "SRNPU" was first introduced with Tizen 6.5 releases. We have decided to expose the official name of these NPU series of TRIV and TRIA series, which are exposed via a common NPU-Engine low-level driver: "TRIx-Engine". Note that in some commercial products with TRIx NPU series, the low-level drivers might be not available to applications. In such cases, high-level drivers (with less hardware control) that wrap the low-level drivers will be provided (e.g., VD-AIFW). [ACR] https://code.sec.samsung.net/jira/browse/TWDAPI-280 Change-Id: I7385749ec94981c3a89fe918d548d2fc582594bd Signed-off-by: MyungJoo Ham --- src/ml/js/ml_manager.js | 2 +- src/ml/ml_utils.cc | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/ml/js/ml_manager.js b/src/ml/js/ml_manager.js index afdc2a3a..05dcef06 100755 --- a/src/ml/js/ml_manager.js +++ b/src/ml/js/ml_manager.js @@ -44,7 +44,7 @@ var NNFWType = { PYTORCH: 'PYTORCH', NNTR_INF: 'NNTR_INF', VD_AIFW: 'VD_AIFW', - SRNPU: 'SRNPU' + TRIX_ENGINE: 'TRIX_ENGINE' }; var HWType = { diff --git a/src/ml/ml_utils.cc b/src/ml/ml_utils.cc index 14a516ec..fe0f5a88 100644 --- a/src/ml/ml_utils.cc +++ b/src/ml/ml_utils.cc @@ -46,7 +46,7 @@ const PlatformEnum NNFWTypeEnum{{"ANY", ML_NNFW_TYPE_ANY}, {"OPEN_VINO", ML_NNFW_TYPE_OPENVINO}, {"PYTORCH", ML_NNFW_TYPE_PYTORCH}, {"SNPE", ML_NNFW_TYPE_SNPE}, - {"SRNPU", ML_NNFW_TYPE_SRNPU}, + {"TRIX_ENGINE", ML_NNFW_TYPE_TRIX_ENGINE}, {"TENSORFLOW", ML_NNFW_TYPE_TENSORFLOW}, {"TENSORFLOW_LITE", ML_NNFW_TYPE_TENSORFLOW_LITE}, {"VD_AIFW", ML_NNFW_TYPE_VD_AIFW}, -- 2.34.1