Skip to content

Commit 28105cc

Browse files
committed
review: fix typos
1 parent 78e9033 commit 28105cc

1 file changed

Lines changed: 5 additions & 6 deletions

File tree

onnxscript/rewriter/min_max_to_clip_test.py

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# Copyright (c) Microsoft Corporation.
22
# Licensed under the MIT License.
3-
# Copyright (c) Microsoft Corporation.
4-
# Licensed under the MIT License.
3+
54
import unittest
65

76
import numpy as np
@@ -85,7 +84,7 @@ def run_failed_condition_test(
8584
self.assertRegex(tracer_match.match_result.reason, expected_message)
8685

8786

88-
class TestFuseSuccesiveMinOrMax(_TestMinMaxToClipBase):
87+
class TestFuseSuccessiveMinOrMax(_TestMinMaxToClipBase):
8988
@parameterized.expand(
9089
[
9190
("int32_min", "int32", "Min"),
@@ -94,7 +93,7 @@ class TestFuseSuccesiveMinOrMax(_TestMinMaxToClipBase):
9493
("float32_max", "float", "Max"),
9594
]
9695
)
97-
def test_successful_fuse_succesive_min_or_max(self, _, dtype, op_type):
96+
def test_successful_fuse_successive_min_or_max(self, _, dtype, op_type):
9897
base_model = ir.from_onnx_text(f"""
9998
< ir_version: 10, opset_import: ["" : 20] >
10099
test_model ({dtype}[N, 32, 14, 17] X) => ({dtype} [N, ?, ?, ?] Y)
@@ -114,7 +113,7 @@ def test_successful_fuse_succesive_min_or_max(self, _, dtype, op_type):
114113
("float32_max_multi", "float", "Max"),
115114
]
116115
)
117-
def test_successful_fuse_succesive_min_or_max_multiple_inputs(self, _, dtype, op_type):
116+
def test_successful_fuse_successive_min_or_max_multiple_inputs(self, _, dtype, op_type):
118117
base_model = ir.from_onnx_text(f"""
119118
< ir_version: 10, opset_import: ["" : 20] >
120119
test_model ({dtype}[N, 3, 3] X) => ({dtype}[N, 3, 3] Y)
@@ -140,7 +139,7 @@ def test_successful_fuse_succesive_min_or_max_multiple_inputs(self, _, dtype, op
140139
("float32_max", "Max"),
141140
]
142141
)
143-
def test_successful_fuse_succesive_min_or_max_constants(self, _, op_type):
142+
def test_successful_fuse_successive_min_or_max_constants(self, _, op_type):
144143
base_model = ir.from_onnx_text(f"""
145144
< ir_version: 10, opset_import: ["" : 20] >
146145
test_model (float[N, 32, 14, 17] X) => (float [N, ?, ?, ?] Y)

0 commit comments

Comments
 (0)