提交 81df39fe 编写于 作者: F fengjiayi

fix compile errer

上级 f4e25550
......@@ -16,10 +16,11 @@ static int run_cnt = 0;
class TestOp : public OperatorBase {
public:
void InferShape(const std::shared_ptr<pd::Scope>& scope) const override {
void InferShape(
const std::shared_ptr<framework::Scope>& scope) const override {
++infer_shape_cnt;
}
void Run(const std::shared_ptr<pd::Scope>& scope,
void Run(const std::shared_ptr<framework::Scope>& scope,
const paddle::platform::DeviceContext& dev_ctx) const override {
++run_cnt;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册