mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-07-20 19:12:24 +00:00
Fix build error due to unused variable (#5698)
Fixes build error due to unused variable when building with OpenVINO 2020.2 and 2020.3.
This commit is contained in:
parent
0b9f7bb1b0
commit
e49f7a8b71
1 changed files with 1 additions and 0 deletions
|
|
@ -313,6 +313,7 @@ void FillInputBlob(InferenceEngine::Blob::Ptr& inputBlob, size_t request_id, siz
|
|||
size_t input_data_size = inputBlob->byteSize();
|
||||
|
||||
#if (defined OPENVINO_2020_2) || (defined OPENVINO_2020_3)
|
||||
ORT_UNUSED_PARAMETER(input_name);
|
||||
const OrtValue* tensor = ort.KernelContext_GetInput(context, subgraph_context.input_indexes[request_id]);
|
||||
#else
|
||||
ORT_UNUSED_PARAMETER(request_id);
|
||||
|
|
|
|||
Loading…
Reference in a new issue