未验证 提交 13ad8bde 编写于 作者: J jakpiase 提交者: GitHub

fix for quant model (#43567)

上级 6be3ee26
......@@ -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.
先完成此消息的编辑!
想要评论请 注册