diff --git a/src/framework/operator.h b/src/framework/operator.h index 26bcf9a784cb71a63dd289fa7198f536e60d45a3..d9b74e8887944774aefadf5ead0a74b1f7eac79d 100644 --- a/src/framework/operator.h +++ b/src/framework/operator.h @@ -135,7 +135,7 @@ class OpKernelBase { const ::paddle_mobile::VariableNameMap &outputs, \ const ::paddle_mobile::framework::AttributeMap &attrs, \ std::shared_ptr<::paddle_mobile::framework::Scope> scope) \ - : parent_cls(type, inputs, outputs, attrs, scope){} + : parent_cls(type, inputs, outputs, attrs, scope) {} class FusionOpMatcher { public: diff --git a/src/operators/reshape_op.h b/src/operators/reshape_op.h index 6f757f2bc57c49954a6fa4fa830e03721cacdf25..a14c84b6be95a1d86ac645563dc21c21a51ca6d4 100644 --- a/src/operators/reshape_op.h +++ b/src/operators/reshape_op.h @@ -31,7 +31,8 @@ template class ReshapeOp : public framework::OperatorWithKernel { public: ReshapeOp(const std::string &type, const VariableNameMap &inputs, - const VariableNameMap &outputs, const framework::AttributeMap &attrs, + const VariableNameMap &outputs, + const framework::AttributeMap &attrs, std::shared_ptr scope) : framework::OperatorWithKernel(type, inputs, outputs, attrs, scope),