Skip to content

Commit 079d756

Browse files
committed
Arm backend: More lintrunner fixes
1 parent 259de4b commit 079d756

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

backends/arm/operators/op_maximum.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ def define_node(
111111
) -> None:
112112

113113
import serializer.tosa_serializer as ts # type: ignore
114-
from tosa import NanPropagationMode # type: ignore[import-untyped]
114+
from tosa.NanPropagationMode import NanPropagationMode # type: ignore
115115

116116
if inputs[0].dtype != inputs[1].dtype and inputs[0].dtype != output.dtype:
117117
raise TypeError(

backends/arm/operators/op_minimum.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ def define_node(
109109
) -> None:
110110

111111
import serializer.tosa_serializer as ts # type: ignore
112-
from tosa import NanPropagationMode # type: ignore[import-untyped]
112+
from tosa.NanPropagationMode import NanPropagationMode # type: ignore
113113

114114
if inputs[0].dtype != inputs[1].dtype and inputs[0].dtype != output.dtype:
115115
raise TypeError(

0 commit comments

Comments
 (0)