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 bf977e0 commit 84d060aCopy full SHA for 84d060a
backends/xnnpack/xnnpack_preprocess.py
@@ -71,6 +71,11 @@ def generate_node_to_external_map(
71
if node.op == "output":
72
for output_nodes in node.args:
73
for output_node in output_nodes:
74
+ if output_node in node_to_external_map:
75
+ raise RuntimeError(
76
+ f"Output node '{output_node}' is already in the inputs. "
77
+ "This is likely due to pass through arguments, which are not supported in XNNPACK Delegate."
78
+ )
79
node_to_external_map[output_node] = ExternalMeta(
80
external_id=len(node_to_external_map),
81
io_type=XNN_VALUE_FLAG_EXTERNAL_OUTPUT,
0 commit comments