-
Notifications
You must be signed in to change notification settings - Fork 722
Open
Labels
Core ML FrameworkAn issue related to the Core ML FrameworkAn issue related to the Core ML FrameworkquestionResponse providing clarification needed. Will not be assigned to a release. (type)Response providing clarification needed. Will not be assigned to a release. (type)
Description
❓Question
Not sure if this is a framework issue, or one with coremltools
. My hunch is the latter, so I'm asking here.
I've exported a model that requires a flexible input shape, and set the default shape to 1
. This model doesn't use the ANE at all, and only runs on CPU.
Out of curiosity, I set the input shape to be fixed to 1
to see if the model would run faster. This model uses the GPU / ANE and is significantly faster. Does this mean that ANE usage is out of the window with flexible input shapes, or is there scope to redefine the model to allow it to use the ANE with flexible shapes too?
Unfortunately, I cannot share the model definition publicly.
Fixed input shape:
Flexible input shape:
vade and CodeofDutyAI
Metadata
Metadata
Assignees
Labels
Core ML FrameworkAn issue related to the Core ML FrameworkAn issue related to the Core ML FrameworkquestionResponse providing clarification needed. Will not be assigned to a release. (type)Response providing clarification needed. Will not be assigned to a release. (type)