提交 9590d552 编写于 作者: X xiaogang 提交者: GitHub

fix: fix bn infershape bug (#3019)

上级 6989f47f
......@@ -68,6 +68,7 @@ bool BatchNormOp::InferShape() const {
param_.saved_variance->Resize({channel_size});
}
param_.y->Resize(x_dims);
param_.y->set_lod(param_.x->lod());
return true;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册