Skip to content
This repository was archived by the owner on Nov 17, 2023. It is now read-only.

Commit 5e08b7f

Browse files
authored
Remove doubled oneDNN memory descriptor creation (#20822)
1 parent 59b4c18 commit 5e08b7f

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

src/operator/nn/dnnl/dnnl_base.cc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -364,7 +364,6 @@ dnnl::memory::desc GetDesc(const dnnl::memory::desc& desc, const dnnl_format_tag
364364
dims[i] = desc.data.dims[i];
365365
dnnl::memory::format_tag cpp_format = static_cast<dnnl::memory::format_tag>(format);
366366
dnnl::memory::data_type cpp_type = static_cast<dnnl::memory::data_type>(desc.data.data_type);
367-
dnnl::memory::desc data_md(dims, cpp_type, cpp_format);
368367
return dnnl::memory::desc(dims, cpp_type, cpp_format);
369368
}
370369

0 commit comments

Comments
 (0)