Skip to content

Commit 4250b49

Browse files
committed
Revert "Arm backend: Remove pyre-unsafe from remaining files (pytorch#15391)"
This reverts commit 5426918.
1 parent 5b1a947 commit 4250b49

File tree

8 files changed

+9
-0
lines changed

8 files changed

+9
-0
lines changed

backends/arm/common/arm_compile_spec.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
# This source code is licensed under the BSD-style license found in the
44
# LICENSE file in the root directory of this source tree.
55

6+
# pyre-unsafe
67

78
#
89
# Main implementation of AoT flow to partition and preprocess for Arm target

backends/arm/operator_support/__init__.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
# This source code is licensed under the BSD-style license found in the
44
# LICENSE file in the root directory of this source tree.
55

6+
# pyre-unsafe
67

78
from . import ( # noqa
89
clone_dim_order_support,

backends/arm/operator_support/ethos_u55_support.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
1111
"""
1212

13+
# pyre-unsafe
1314

1415
import typing
1516
from typing import cast

backends/arm/operator_support/right_shift_support.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,8 @@
99
1010
"""
1111

12+
# pyre-unsafe
13+
1214

1315
import logging
1416

backends/arm/operator_support/to_dim_order_copy_support.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
1111
"""
1212

13+
# pyre-unsafe
1314
import copy
1415
import logging
1516

backends/arm/operator_support/tosa_supported_operators.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
# This source code is licensed under the BSD-style license found in the
44
# LICENSE file in the root directory of this source tree.
55

6+
# pyre-unsafe
67

78
import itertools
89
import operator

backends/arm/test/misc/test_outputs_order.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
# This source code is licensed under the BSD-style license found in the
44
# LICENSE file in the root directory of this source tree.
55
#
6+
# pyre-unsafe
67
import tempfile
78
from pathlib import Path
89

backends/arm/util/arm_model_evaluator.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
# This source code is licensed under the BSD-style license found in the
44
# LICENSE file in the root directory of this source tree.
55

6+
# pyre-unsafe
67

78
import json
89
import logging

0 commit comments

Comments
 (0)