mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-22 22:01:08 +00:00
Rename inner-scoped variable to avoid MSVC warning (#4587)
This commit is contained in:
parent
f3fc8ca954
commit
623dd53eb7
1 changed files with 2 additions and 2 deletions
|
|
@ -64,10 +64,10 @@ VADMBackend::VADMBackend(const ONNX_NAMESPACE::ModelProto& model_proto,
|
|||
exe_networks.push_back(exe_network);
|
||||
}
|
||||
LOGS_DEFAULT(INFO) << log_tag << "Loaded model to the plugin";
|
||||
for(size_t i = 0; i < num_inf_reqs_; i++) {
|
||||
for(size_t j = 0; j < num_inf_reqs_; j++) {
|
||||
InferenceEngine::InferRequest::Ptr infRequest;
|
||||
try {
|
||||
infRequest = exe_networks[i].CreateInferRequestPtr();
|
||||
infRequest = exe_networks[j].CreateInferRequestPtr();
|
||||
} catch(InferenceEngine::details::InferenceEngineException e) {
|
||||
ORT_THROW(log_tag + "Exception while creating InferRequest object: " + e.what());
|
||||
} catch (...) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue