提交 ae7192a8 编写于 作者: J jakpiase 提交者: lidanqing-intel

fix for quant model (#43567)

上级 e1604f9e
......@@ -178,6 +178,8 @@ class FCPrimitiveFactory {
} else {
out->set_format(in_format);
}
out->set_mem_desc({phi::vectorize(out->dims()),
platform::MKLDNNGetDataType<T_out>(), out->format()});
}
void UpdateDataPointers(const ExecutionContext& ctx, Tensor* out,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册