-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reshape feature implementation #573
base: ovep-develop
Are you sure you want to change the base?
Conversation
059f7c1
to
f84614c
Compare
b66301b
to
e93f0b0
Compare
53278fe
to
be37fd9
Compare
42d6f14
to
e85411a
Compare
@jatinwadhwa921 please update this branch |
sure, i will rebase this branch again with latest ovep-develop |
be37fd9
to
ca2bc91
Compare
@@ -236,6 +236,97 @@ struct OpenVINO_Provider : Provider { | |||
|
|||
pi.precision = ParsePrecision(provider_options, pi.device_type, "precision"); | |||
|
|||
if (provider_options.contains("reshape_input") && pi.device_type == "NPU") { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@jatinwadhwa921 exactly what are we trying to do here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am not comfortable leaving so much parsing in main functions can we create a file parse_utils.cc and dump all parsing functions there
@preetha-intel @ankitm3k can you please review this PR |
I would expect all parsing functions inside openvino_provider_factory to move to parse utils. |
Reshape feature implementation, This feature will help you set lower and upper bound for ov tensors only for NPU. Command used to run the feature -
onnxruntime_perf_test.exe -v -e openvino -m times -r 1 -i "device_type|NPU reshape_input|data[1,3,60,80..120]" <model_path>