mirror of
https://gitee.com/openharmony/ai_neural_network_runtime
synced 2024-12-12 10:15:45 +00:00
bugfix
Signed-off-by: wang-yangsong <wangyangsong1@h-partners.com>
This commit is contained in:
parent
0ec61a1427
commit
12a8a37758
@ -1328,7 +1328,7 @@ OH_NN_ReturnCode ExecutorPrepare(Executor** executor, Compilation** compilation)
|
||||
|
||||
std::string hiaiModelIdStr = std::to_string(compilationImpl->hiaiModelId);
|
||||
std::vector<char> vechiaiModelId(hiaiModelIdStr.begin(), hiaiModelIdStr.end());
|
||||
vecCallingPid.emplace_back('\0');
|
||||
vechiaiModelId.emplace_back('\0');
|
||||
configMap["hiaiModelId"] = vechiaiModelId;
|
||||
|
||||
std::vector<char> vecNeedLatency = { static_cast<char>(compilationImpl->isNeedModelLatency) };
|
||||
|
Loading…
Reference in New Issue
Block a user