未验证 提交 530869f8 编写于 作者: W whs 提交者: GitHub

Share LoD from Input(Rois). (#15420)

test=develop
上级 7ab4af27
...@@ -493,6 +493,7 @@ class ROIPerspectiveTransformOp : public framework::OperatorWithKernel { ...@@ -493,6 +493,7 @@ class ROIPerspectiveTransformOp : public framework::OperatorWithKernel {
auto out_dims = framework::make_ddim(out_dims_v); auto out_dims = framework::make_ddim(out_dims_v);
ctx->SetOutputDim("Out", out_dims); ctx->SetOutputDim("Out", out_dims);
ctx->ShareLoD("ROIs", /*->*/ "Out");
} }
protected: protected:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册