-
Notifications
You must be signed in to change notification settings - Fork 613
Open
Description
Feature request
Currently,
optimum-cli does not provide a way to specify static input shapes, it defaults to dynamic shapes. Is there a way to make it possible to specify the input shape? If not, why do we not allow this?
An example would be:
optimum-cli export openvino --model microsoft/resnet-50 graph_convert -> optimum-cli export openvino --model microsoft/resnet-50 graph_convert --input [1, 3, 224, 224]
Motivation
Specifying a static shape in OpenVINO IR is nice to have for the Intel/Altera FPGA AI Suite toolchain which does not support dynamic input shapes of OpenVINO IR at the moment
Your contribution
Yes if possible or the green light is given that this is allowed.
Some modifications to the optimum_cli.py file here
would probably be needed
Metadata
Metadata
Assignees
Labels
No labels