File tree Expand file tree Collapse file tree 9 files changed +17
-17
lines changed Expand file tree Collapse file tree 9 files changed +17
-17
lines changed Original file line number Diff line number Diff line change @@ -74,7 +74,7 @@ def test_mv2_tosa_BI(self):
74
74
.to_executorch ()
75
75
)
76
76
if common .TOSA_REF_MODEL_INSTALLED :
77
- tester .run_method (). compare_outputs ()
77
+ tester .run_method_and_compare_outputs ()
78
78
else :
79
79
logger .warning (
80
80
"TOSA ref model tool not installed, skip numerical correctness tests"
Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ def _test_add_tosa_MI_pipeline(
70
70
.to_executorch ()
71
71
)
72
72
if common .TOSA_REF_MODEL_INSTALLED :
73
- tester .run_method (). compare_outputs ()
73
+ tester .run_method_and_compare_outputs ()
74
74
else :
75
75
logger .warning (
76
76
"TOSA ref model tool not installed, skip numerical correctness tests"
@@ -98,7 +98,7 @@ def _test_add_tosa_BI_pipeline(
98
98
)
99
99
100
100
if common .TOSA_REF_MODEL_INSTALLED :
101
- tester .run_method (). compare_outputs (qtol = 1 )
101
+ tester .run_method_and_compare_outputs (qtol = 1 )
102
102
else :
103
103
logger .warning (
104
104
"TOSA ref model tool not installed, skip numerical correctness tests"
Original file line number Diff line number Diff line change @@ -65,7 +65,7 @@ def _test_avgpool2d_tosa_MI_pipeline(
65
65
.to_executorch ()
66
66
)
67
67
if common .TOSA_REF_MODEL_INSTALLED :
68
- tester .run_method (). compare_outputs ()
68
+ tester .run_method_and_compare_outputs ()
69
69
else :
70
70
logger .warning (
71
71
"TOSA ref model tool not installed, skip numerical correctness tests"
@@ -93,7 +93,7 @@ def _test_avgpool2d_tosa_BI_pipeline(
93
93
.to_executorch ()
94
94
)
95
95
if common .TOSA_REF_MODEL_INSTALLED :
96
- tester .run_method (). compare_outputs (qtol = 1 )
96
+ tester .run_method_and_compare_outputs (qtol = 1 )
97
97
else :
98
98
logger .warning (
99
99
"TOSA ref model tool not installed, skip numerical correctness tests"
Original file line number Diff line number Diff line change @@ -260,7 +260,7 @@ def _test_conv2d_tosa_MI_pipeline(
260
260
.to_executorch ()
261
261
)
262
262
if common .TOSA_REF_MODEL_INSTALLED :
263
- tester .run_method (). compare_outputs ()
263
+ tester .run_method_and_compare_outputs ()
264
264
else :
265
265
logger .warning (
266
266
"TOSA ref model tool not installed, skip numerical correctness tests"
@@ -288,7 +288,7 @@ def _test_conv2d_tosa_BI_pipeline(
288
288
.to_executorch ()
289
289
)
290
290
if common .TOSA_REF_MODEL_INSTALLED :
291
- tester .run_method (). compare_outputs (qtol = 1 )
291
+ tester .run_method_and_compare_outputs (qtol = 1 )
292
292
else :
293
293
logger .warning (
294
294
"TOSA ref model tool not installed, skip numerical correctness tests"
Original file line number Diff line number Diff line change @@ -147,7 +147,7 @@ def _test_conv_combo_tosa_MI_pipeline(
147
147
.to_executorch ()
148
148
)
149
149
if common .TOSA_REF_MODEL_INSTALLED :
150
- tester .run_method (). compare_outputs ()
150
+ tester .run_method_and_compare_outputs ()
151
151
else :
152
152
logger .warning (
153
153
"TOSA ref model tool not installed, skip numerical correctness tests"
@@ -177,7 +177,7 @@ def _test_conv_combo_tosa_BI_pipeline(
177
177
.to_executorch ()
178
178
)
179
179
if common .TOSA_REF_MODEL_INSTALLED :
180
- tester .run_method (). compare_outputs (atol = atol , rtol = rtol , qtol = 1 )
180
+ tester .run_method_and_compare_outputs (atol = atol , rtol = rtol , qtol = 1 )
181
181
else :
182
182
logger .warning (
183
183
"TOSA ref model tool not installed, skip numerical correctness tests"
Original file line number Diff line number Diff line change @@ -146,7 +146,7 @@ def _test_dw_conv2d_tosa_MI_pipeline(
146
146
.to_executorch ()
147
147
)
148
148
if common .TOSA_REF_MODEL_INSTALLED :
149
- tester .run_method (). compare_outputs ()
149
+ tester .run_method_and_compare_outputs ()
150
150
else :
151
151
logger .warning (
152
152
"TOSA ref model tool not installed, skip numerical correctness tests"
@@ -172,7 +172,7 @@ def _test_dw_conv2d_tosa_BI_pipeline(
172
172
.to_executorch ()
173
173
)
174
174
if common .TOSA_REF_MODEL_INSTALLED :
175
- tester .run_method (). compare_outputs (qtol = 1 )
175
+ tester .run_method_and_compare_outputs (qtol = 1 )
176
176
else :
177
177
logger .warning (
178
178
"TOSA ref model tool not installed, skip numerical correctness tests"
Original file line number Diff line number Diff line change @@ -126,7 +126,7 @@ def _test_linear_tosa_MI_pipeline(
126
126
.to_executorch ()
127
127
)
128
128
if common .TOSA_REF_MODEL_INSTALLED :
129
- tester .run_method (). compare_outputs ()
129
+ tester .run_method_and_compare_outputs ()
130
130
else :
131
131
logger .warning (
132
132
"TOSA ref model tool not installed, skip numerical correctness tests"
@@ -152,7 +152,7 @@ def _test_linear_tosa_BI_pipeline(
152
152
.to_executorch ()
153
153
)
154
154
if common .TOSA_REF_MODEL_INSTALLED :
155
- tester .run_method (). compare_outputs (qtol = True )
155
+ tester .run_method_and_compare_outputs (qtol = True )
156
156
else :
157
157
logger .warning (
158
158
"TOSA ref model tool not installed, skip numerical correctness tests"
Original file line number Diff line number Diff line change @@ -70,7 +70,7 @@ def _test_meandim_tosa_MI_pipeline(
70
70
.to_executorch ()
71
71
)
72
72
if common .TOSA_REF_MODEL_INSTALLED :
73
- tester .run_method (). compare_outputs ()
73
+ tester .run_method_and_compare_outputs ()
74
74
else :
75
75
logger .warning (
76
76
"TOSA ref model tool not installed, skip numerical correctness tests"
@@ -98,7 +98,7 @@ def _test_meandim_tosa_BI_pipeline(
98
98
.to_executorch ()
99
99
)
100
100
if common .TOSA_REF_MODEL_INSTALLED :
101
- tester .run_method (). compare_outputs (qtol = 1 )
101
+ tester .run_method_and_compare_outputs (qtol = 1 )
102
102
else :
103
103
logger .warning (
104
104
"TOSA ref model tool not installed, skip numerical correctness tests"
Original file line number Diff line number Diff line change @@ -57,7 +57,7 @@ def _test_softmax_tosa_MI_pipeline(
57
57
.to_executorch ()
58
58
)
59
59
if common .TOSA_REF_MODEL_INSTALLED :
60
- tester .run_method (). compare_outputs ()
60
+ tester .run_method_and_compare_outputs ()
61
61
else :
62
62
logger .warning (
63
63
"TOSA ref model tool not installed, skip numerical correctness tests"
@@ -84,7 +84,7 @@ def _test_softmax_tosa_BI_pipeline(
84
84
.to_executorch ()
85
85
)
86
86
if common .TOSA_REF_MODEL_INSTALLED :
87
- tester .run_method (). compare_outputs (qtol = 1 )
87
+ tester .run_method_and_compare_outputs (qtol = 1 )
88
88
else :
89
89
logger .warning (
90
90
"TOSA ref model tool not installed, skip numerical correctness tests"
You can’t perform that action at this time.
0 commit comments