diff --git a/src/framework/operator.h b/src/framework/operator.h index da22bf48abcaf11f5c21d0353f2a47189901f5d9..541d0d550cd2d2dea248fb85f0adada4bd8f6db4 100644 --- a/src/framework/operator.h +++ b/src/framework/operator.h @@ -18,8 +18,6 @@ SOFTWARE. #pragma once -#include - #include "attribute.h" #include "block_desc.h" #include "common/type_define.h" @@ -31,6 +29,7 @@ SOFTWARE. #include "scope.h" #include "tensor.h" #include "variable.h" +#include namespace paddle_mobile { namespace framework { diff --git a/src/operators/elementwise_add_op.h b/src/operators/elementwise_add_op.h index d3e347584006b3d69684463f8a1267371998e9b7..4cee2bb6c95e4bb621a36aa963bcbb87b8f315ed 100644 --- a/src/operators/elementwise_add_op.h +++ b/src/operators/elementwise_add_op.h @@ -38,7 +38,7 @@ namespace paddle_mobile { type, inputs, outputs, attrs, scope), param_(inputs, outputs, attrs, *scope) {} - void RunImpl() const { + void Run() const { operators::ElementwiseAddKernel kernel;