提交 1d9d8ed6 编写于 作者: H Haihao Shen

Fix the typo

上级 2e09ab36
...@@ -521,7 +521,7 @@ class ConvMKLDNNOpKernel : public paddle::framework::OpKernel<T> { ...@@ -521,7 +521,7 @@ class ConvMKLDNNOpKernel : public paddle::framework::OpKernel<T> {
dst_dt = residual_dt; dst_dt = residual_dt;
} }
if(force_fp32_output) if(force_fp32_output)
dst_dt = fuse_relu? paddle::framework::ToMKLDNNDataType(std::type_index(typeid(float))); dst_dt = paddle::framework::ToMKLDNNDataType(std::type_index(typeid(float)));
dst_md.reset(new mkldnn::memory::desc(platform::MKLDNNMemDesc(dst_tz, dst_dt, chosen_memory_format))); dst_md.reset(new mkldnn::memory::desc(platform::MKLDNNMemDesc(dst_tz, dst_dt, chosen_memory_format)));
mds[2] = src_md; mds[2] = src_md;
mds[3] = weights_md; mds[3] = weights_md;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册