From 1ebf000f7add0f849e6728907a4b26e618cd3f02 Mon Sep 17 00:00:00 2001 From: caifubi Date: Thu, 9 Jul 2020 09:43:35 +0800 Subject: [PATCH] Fix LoadComplete return --- src/ge/ge_runtime/runtime_model.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/src/ge/ge_runtime/runtime_model.cc b/src/ge/ge_runtime/runtime_model.cc index f71b6ec8..bdf8f2a6 100644 --- a/src/ge/ge_runtime/runtime_model.cc +++ b/src/ge/ge_runtime/runtime_model.cc @@ -254,6 +254,7 @@ bool RuntimeModel::LoadComplete() { GELOGE(RT_FAILED, "Call rt api rtModelLoadComplete failed, ret: 0x%X.", rt_ret); return false; } + return true; } bool RuntimeModel::Load(uint32_t device_id, uint64_t session_id, std::shared_ptr &davinci_model) {