mirror of
https://github.com/saymrwulf/onnxruntime.git
synced 2026-05-18 21:21:17 +00:00
Enable code in QNN UT to verify the fix for partition issue (#19939)
### Description Enable code in QNN UT to verify the fix for partition issue relate to QDQ model. https://github.com/microsoft/onnxruntime/pull/19723
This commit is contained in:
parent
7b46b31558
commit
d5c6a2cecf
1 changed files with 2 additions and 0 deletions
|
|
@ -123,6 +123,8 @@ void QnnContextBinaryMultiPartitionTestBody(bool single_ep_node = true) {
|
|||
for (auto& node : ctx_graph.Nodes()) {
|
||||
if (node.OpType() == "EPContext") {
|
||||
++ep_context_node_count;
|
||||
// validate the fix for the partition issue relate to QDQ model
|
||||
ASSERT_EQ(node.InputDefs().size(), 1);
|
||||
} else {
|
||||
++non_ep_context_node_count;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue