提交 c2eec47b 编写于 作者: M Megvii Engine Team

fix(imperative/src): fix adaptive_pooling bug

GitOrigin-RevId: e1dc46e3fa65562077f91bf4c18df536d53f322b
上级 ffbf8fad
......@@ -73,6 +73,7 @@ SmallVector<TensorPtr> apply_on_physical_tensor(
TensorLayout dst_layout = output_descs[0].layout;
if (!validated) {
TensorShape tshp;
dst_layout.ndim = src_layout.ndim;
dst_layout[0] = src_layout[0];
dst_layout[1] = src_layout[1];
if (inputs.size() == 2) {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册