From cc64b4054bf58d51fd36862a6ce186291e6eeb70 Mon Sep 17 00:00:00 2001 From: Maksim Kutakov Date: Sat, 30 Jan 2021 12:22:37 +0300 Subject: [PATCH] Create call fix. --- inference-engine/src/mkldnn_plugin/mkldnn_memory.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inference-engine/src/mkldnn_plugin/mkldnn_memory.cpp b/inference-engine/src/mkldnn_plugin/mkldnn_memory.cpp index 86a0aa834077d1..ee8da9d6eb3e83 100644 --- a/inference-engine/src/mkldnn_plugin/mkldnn_memory.cpp +++ b/inference-engine/src/mkldnn_plugin/mkldnn_memory.cpp @@ -152,7 +152,7 @@ void MKLDNNMemory::SetData(memory::data_type dataType, memory::format_tag format cpu_memcpy(dataPtr, data, size); } else { auto memData = this->GetDescriptor().data; - std::vector dims(memData.dims, memData.dims + memData.ndims); + memory::dims dims(memData.dims, memData.dims + memData.ndims); MKLDNNMemory src(this->eng); src.Create(dims, dataType, format, data);