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:
Hector Li 2024-03-15 17:02:01 -07:00 committed by GitHub
parent 7b46b31558
commit d5c6a2cecf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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;
}