Skip to content

Commit

Permalink
Create call fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
maxnick committed Jan 30, 2021
1 parent 007851c commit cc64b40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion inference-engine/src/mkldnn_plugin/mkldnn_memory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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<ptrdiff_t> 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);
Expand Down

0 comments on commit cc64b40

Please sign in to comment.