From 640a615150f7a5ceab805829c4414351e838cbbb Mon Sep 17 00:00:00 2001 From: Dhruv Matani Date: Fri, 24 Sep 2021 13:10:44 -0700 Subject: [PATCH] [easy] [PyTorch Edge] Remove double pragma once directive in the generated code (#65620) Summary: Pull Request resolved: https://github.com/pytorch/pytorch/pull/65620 This was bothering me for a while. ghstack-source-id: 138914860 Test Plan: Sandcastle Reviewed By: beback4u Differential Revision: D31162648 fbshipit-source-id: 72c47ea34d40c772bb53da721fcb36365b5dbaf3 --- tools/lite_interpreter/gen_selected_mobile_ops_header.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/lite_interpreter/gen_selected_mobile_ops_header.py b/tools/lite_interpreter/gen_selected_mobile_ops_header.py index bf28bf3c3a3f2..7e30698ccf5cd 100644 --- a/tools/lite_interpreter/gen_selected_mobile_ops_header.py +++ b/tools/lite_interpreter/gen_selected_mobile_ops_header.py @@ -12,7 +12,7 @@ }""" if_condition_template = CodeTemplate(if_condition_template_str) -selected_kernel_dtypes_h_template_str = """#pragma once +selected_kernel_dtypes_h_template_str = """ #include #include #include