Skip to content
This repository has been archived by the owner on Aug 16, 2024. It is now read-only.

Commit

Permalink
[easy] [PyTorch Edge] Remove double pragma once directive in the gene…
Browse files Browse the repository at this point in the history
…rated code (pytorch#65620)

Summary:
Pull Request resolved: pytorch#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
  • Loading branch information
dhruvbird authored and facebook-github-bot committed Sep 24, 2021
1 parent 57e066e commit 640a615
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/lite_interpreter/gen_selected_mobile_ops_header.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 <c10/core/ScalarType.h>
#include <c10/util/string_view.h>
#include <c10/macros/Macros.h>
Expand Down

0 comments on commit 640a615

Please sign in to comment.