File tree Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Expand file tree Collapse file tree 3 files changed +9
-9
lines changed Original file line number Diff line number Diff line change @@ -123,7 +123,7 @@ def _test_linear_tosa_MI_pipeline(
123
123
compile_spec = common .get_tosa_compile_spec (),
124
124
)
125
125
.export ()
126
- .check_count ({"torch.ops.aten.addmm .default" : 1 })
126
+ .check_count ({"torch.ops.aten.linear .default" : 1 })
127
127
.check_not (["torch.ops.quantized_decomposed" ])
128
128
.to_edge (config = self ._edge_compile_config )
129
129
.partition ()
@@ -143,7 +143,7 @@ def _test_linear_tosa_BI_pipeline(
143
143
)
144
144
.quantize ()
145
145
.export ()
146
- .check_count ({"torch.ops.aten.addmm .default" : 1 })
146
+ .check_count ({"torch.ops.aten.linear .default" : 1 })
147
147
.check (["torch.ops.quantized_decomposed" ])
148
148
.to_edge (config = self ._edge_compile_config )
149
149
.partition ()
@@ -163,7 +163,7 @@ def _test_linear_tosa_u55_BI_pipeline(
163
163
)
164
164
.quantize ()
165
165
.export ()
166
- .check_count ({"torch.ops.aten.addmm .default" : 1 })
166
+ .check_count ({"torch.ops.aten.linear .default" : 1 })
167
167
.check (["torch.ops.quantized_decomposed" ])
168
168
.to_edge (config = self ._edge_compile_config )
169
169
.partition ()
Original file line number Diff line number Diff line change @@ -58,7 +58,7 @@ def _test_meandim_tosa_MI_pipeline(
58
58
compile_spec = common .get_tosa_compile_spec (permute_memory_to_nhwc = True ),
59
59
)
60
60
.export ()
61
- .check (["torch.ops.aten.mean.dim " ])
61
+ .check (["torch.ops.aten.adaptive_avg_pool2d.default " ])
62
62
.check_not (["torch.ops.quantized_decomposed" ])
63
63
.to_edge ()
64
64
.partition ()
@@ -79,7 +79,7 @@ def _test_meandim_tosa_BI_pipeline(
79
79
)
80
80
.quantize ()
81
81
.export ()
82
- .check_count ({"torch.ops.aten.mean.dim " : 1 })
82
+ .check_count ({"torch.ops.aten.adaptive_avg_pool2d.default " : 1 })
83
83
.check (["torch.ops.quantized_decomposed" ])
84
84
.to_edge ()
85
85
.partition ()
@@ -100,7 +100,7 @@ def _test_meandim_tosa_u55_BI_pipeline(
100
100
)
101
101
.quantize ()
102
102
.export ()
103
- .check_count ({"torch.ops.aten.mean.dim " : 1 })
103
+ .check_count ({"torch.ops.aten.adaptive_avg_pool2d.default " : 1 })
104
104
.check (["torch.ops.quantized_decomposed" ])
105
105
.to_edge ()
106
106
.partition ()
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ def _test_softmax_tosa_MI_pipeline(
46
46
compile_spec = common .get_tosa_compile_spec (),
47
47
)
48
48
.export ()
49
- .check (["torch.ops.aten._softmax.default " ])
49
+ .check (["torch.ops.aten.softmax.int " ])
50
50
.check_not (["torch.ops.quantized_decomposed" ])
51
51
.to_edge ()
52
52
.partition ()
@@ -67,7 +67,7 @@ def _test_softmax_tosa_BI_pipeline(
67
67
)
68
68
.quantize ()
69
69
.export ()
70
- .check_count ({"torch.ops.aten._softmax.default " : 1 })
70
+ .check_count ({"torch.ops.aten.softmax.int " : 1 })
71
71
.check (["torch.ops.quantized_decomposed" ])
72
72
.to_edge ()
73
73
.partition ()
@@ -88,7 +88,7 @@ def _test_softmax_tosa_u55_BI_pipeline(
88
88
)
89
89
.quantize ()
90
90
.export ()
91
- .check_count ({"torch.ops.aten._softmax.default " : 1 })
91
+ .check_count ({"torch.ops.aten.softmax.int " : 1 })
92
92
.check (["torch.ops.quantized_decomposed" ])
93
93
.to_edge ()
94
94
.partition ()
You can’t perform that action at this time.
0 commit comments