Skip to content

Commit

Permalink
added input checks for enable_qdq_optimiser (#460)
Browse files Browse the repository at this point in the history
  • Loading branch information
n1harika authored Oct 1, 2024
1 parent 91cb834 commit e95451b
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,8 @@ struct OpenVINO_Provider : Provider {
enable_qdq_optimizer = true;
else if (bool_flag == "false" || bool_flag == "False")
enable_qdq_optimizer = false;
else
ORT_THROW("[ERROR] [OpenVINO-EP] enable_qdq_optimiser should be a boolean.\n");
bool_flag = "";
}

Expand Down

0 comments on commit e95451b

Please sign in to comment.