Skip to content

Commit

Permalink
Enable code in QNN UT to verify the fix for partition issue (#19939)
Browse files Browse the repository at this point in the history
### Description
Enable code in QNN UT to verify the fix for partition issue relate to
QDQ model.
#19723
  • Loading branch information
HectorSVC authored Mar 16, 2024
1 parent 7b46b31 commit d5c6a2c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions onnxruntime/test/providers/qnn/qnn_ep_context_test.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
Expand Down

0 comments on commit d5c6a2c

Please sign in to comment.