Change-Id: I4a0d2ea3345ab650f5ffe9072f8edc79f5fdca98
Signed-off-by: Inki Dae <inki.dae@samsung.com>
std::vector<std::string>().swap(mDesignated_outputs);
}
-int InferenceMLAPI::SetPluginType(int type)
+int InferenceMLAPI::SetPrivateData(void *data)
{
LOGI("ENTER");
+ inference_backend_type_e type = *(static_cast<inference_backend_type_e *>(data));
+
if (INFERENCE_BACKEND_NNFW != type && INFERENCE_BACKEND_MLAPI != type) {
LOGE("Invalid backend type.");
return INFERENCE_ENGINE_ERROR_NOT_SUPPORTED;
InferenceMLAPI();
~InferenceMLAPI();
- int SetPluginType(int type) override;
+ int SetPrivateData(void *data) override;
int SetTargetDevices(int types) override;