diff --git a/paddle/operators/elementwise_add_op.h b/paddle/operators/elementwise_add_op.h index 42a7a29e991adcce98c74c62bb359a2cc4a7c30d..9e9f1ffba6fb23f5394713c67aa4363b85717f50 100644 --- a/paddle/operators/elementwise_add_op.h +++ b/paddle/operators/elementwise_add_op.h @@ -12,6 +12,8 @@ See the License for the specific language governing permissions and limitations under the License. */ +#pragma once + #include "paddle/operators/elementwise_op.h" namespace paddle { diff --git a/paddle/operators/elementwise_div_op.h b/paddle/operators/elementwise_div_op.h index 6ef60cdf8dfc01f7cf51bb68f18900effb444fca..9bd7c8ea548c46ec9b4c5a085e4e70d5dd162f3a 100644 --- a/paddle/operators/elementwise_div_op.h +++ b/paddle/operators/elementwise_div_op.h @@ -12,6 +12,8 @@ See the License for the specific language governing permissions and limitations under the License. */ +#pragma once + #include "paddle/operators/elementwise_op.h" namespace paddle { diff --git a/paddle/operators/elementwise_sub_op.h b/paddle/operators/elementwise_sub_op.h index faa38cf4014e98b2a28f51b32585ca5c10289841..f6bc66cd0e1594a8bc7070e2f182401b92d1c88e 100644 --- a/paddle/operators/elementwise_sub_op.h +++ b/paddle/operators/elementwise_sub_op.h @@ -12,6 +12,7 @@ See the License for the specific language governing permissions and limitations under the License. */ +#pragma once #include "paddle/operators/elementwise_op.h" namespace paddle {