Skip to content

Commit e83e676

Browse files
committed
Revert "Arm backend: Remove pyre-unsafe from quantizer/ & backends/arm (pytorch#15374)"
This reverts commit 80b4a84.
1 parent 3a50a0b commit e83e676

File tree

5 files changed

+5
-0
lines changed

5 files changed

+5
-0
lines changed

backends/arm/arm_vela.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 os
89
import struct

backends/arm/process_node.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
# LICENSE file in the root directory of this source tree.
55
#
66

7+
# pyre-unsafe
78
from typing import Any, cast, Dict
89

910
import numpy as np

backends/arm/quantizer/arm_quantizer.py

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

8+
# pyre-unsafe
89

910
#
1011
# Quantizer for Arm backend

backends/arm/quantizer/arm_quantizer_utils.py

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

8+
# pyre-unsafe
89
"""Provide utilities for quantization annotations.
910
1011
Use these helpers to check and mark annotation state when working with

backends/arm/quantizer/quantization_config.py

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

14+
# pyre-unsafe
1415

1516
from dataclasses import dataclass
1617

0 commit comments

Comments
 (0)