We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eaf383a commit 9e478e8Copy full SHA for 9e478e8
backends/apple/coreml/test/test_coreml_partitioner.py
@@ -68,15 +68,23 @@ def test_vit_skip_conv(self):
68
)
69
70
71
+ conv_block = ["aten.convolution.default", "executorch_call_delegate"]
72
+ safe_softmax_block = [
73
+ "getitem",
74
75
76
77
+ "aten.any.dim",
78
+ "executorch_call_delegate",
79
+ ]
80
+ final_block = ["getitem"]
81
+ total = conv_block + 12 * safe_softmax_block + final_block
82
+
83
assert [
84
node.target.__name__
85
for node in delegated_program_manager.exported_program().graph.nodes
86
if node.op == "call_function"
- ] == [
- "aten.convolution.default",
- "executorch_call_delegate",
- "getitem",
- ]
87
+ ] == total
88
89
90
if __name__ == "__main__":
0 commit comments