You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@mxnet.apache.org by GitBox <gi...@apache.org> on 2021/03/10 00:08:48 UTC

[GitHub] [incubator-mxnet] Zha0q1 opened a new issue #20000: [RFC] Dynamic Shape Support for MX-ONNX export

Zha0q1 opened a new issue #20000:
URL: https://github.com/apache/incubator-mxnet/issues/20000


   Currently, our MXNET-ONNX export module does not support dynamic input shapes. We have to specify the static input shapes and the mxnet shape inference api will deduce the static output shapes. I propose to add dynamic input shapes support with a minimalist option `dynamic_input_shapes=True/False` to our `contrib.onnx.export_model` api. This option will override the mxnet shape inference and allow for fully or partially dynamic input shapes e.g. (None, None) or (None, 32). 
   
   Dynamic shapes might reduce the level of ONNX graph optimization. Specific performance comparisons between static and dynamic shapes can be further investigated and documented (on some standard models).
   
   The success criterion of this feature is that all models that previously can be exported and run with static shapes should also work with dynamic shapes.
   
   It would be great if the dev community can provide some comments or specific use cases for this feature.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@mxnet.apache.org
For additional commands, e-mail: issues-help@mxnet.apache.org