Merge "Support two more tensor type" into tizen accepted/tizen_6.0_unified accepted/tizen_6.0_unified_hotfix tizen_6.0 tizen_6.0_hotfix accepted/tizen/6.0/unified/20201030.121108 accepted/tizen/6.0/unified/hotfix/20201103.051119 accepted/tizen/unified/20200831.002556 submit/tizen/20200828.025650 submit/tizen/20200828.100528 submit/tizen_6.0/20201029.205103 submit/tizen_6.0_hotfix/20201102.192503 submit/tizen_6.0_hotfix/20201103.114803 tizen_6.0.m2_release
authorInki Dae <inki.dae@samsung.com>
Wed, 26 Aug 2020 06:35:27 +0000 (06:35 +0000)
committerGerrit Code Review <gerrit@review>
Wed, 26 Aug 2020 06:35:27 +0000 (06:35 +0000)
src/inference_engine_mlapi.cpp

index 7570359..29913e5 100644 (file)
@@ -487,6 +487,10 @@ namespace MLAPIImpl
                        return INFERENCE_TENSOR_DATA_TYPE_UINT8;
                case ML_TENSOR_TYPE_UINT16:
                        return INFERENCE_TENSOR_DATA_TYPE_UINT16;
+               case ML_TENSOR_TYPE_INT64:
+                       return INFERENCE_TENSOR_DATA_TYPE_INT64;
+               case ML_TENSOR_TYPE_UINT64:
+                       return INFERENCE_TENSOR_DATA_TYPE_UINT64;
                default:
                        LOGE("Tensor type(%d) is invalid.", tensor_type);
                        return INFERENCE_ENGINE_ERROR_INVALID_PARAMETER;