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:
S. Manohar Karlapalem 2020-11-04 12:12:16 -08:00 committed by GitHub
parent 0b9f7bb1b0
commit e49f7a8b71
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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);