提交 5246285e 编写于 作者: J jerrywgz

test=develop

上级 b10d84bc
......@@ -45,7 +45,7 @@ class BoxClipOp : public framework::OperatorWithKernel {
protected:
framework::OpKernelType GetExpectedKernelType(
const framework::ExecutionContext& ctx) const override {
auto data_type = framework::GetDataTypeOfVar(ctx.InputVar("RpnRois"));
auto data_type = framework::GetDataTypeOfVar(ctx.InputVar("InputBox"));
return framework::OpKernelType(data_type, platform::CPUPlace());
}
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册