Change-Id: Ie73cfc3488360d8a5cde0c2c52f92900410b4f7c
Signed-off-by: Tae-Young Chung <ty83.chung@samsung.com>
engine_config = config;
}
+ int GetTargetType()
+ {
+ return mConfig.mTargetTypes;
+ }
+
private:
bool mCanRun; /**< The flag indicating ready to run Inference */
InferenceConfig mConfig;
backendType < MV_INFERENCE_BACKEND_MAX) &&
(backendType != MV_INFERENCE_BACKEND_TFLITE) &&
(backendType != MV_INFERENCE_BACKEND_ARMNN) &&
+ (backendType == MV_INFERENCE_BACKEND_MLAPI &&
+ (pInfer->GetTargetType() & MV_INFERENCE_TARGET_DEVICE_CUSTOM)) &&
(backendType != MV_INFERENCE_BACKEND_ONE)) {
if (access(modelConfigFilePath, F_OK)) {
LOGE("modelConfigFilePath in [%s] ", modelConfigFilePath);