I believe you will need to do this if some inputs in your onnx models don't 
have fully defined shapes. E.g. you might have batch norm not defined so in 
your onnx model it will be something like shape ['?', 3, 224, 224]. In this 
case if you have a fixed shape it probably is helpful otherwise you will have 
some potential dynamism which generally are slower models.

If your onnx model has fully defined shapes then you don't have to do it.





---
[Visit 
Topic](https://discuss.tvm.apache.org/t/why-should-we-set-parameter-shape-dict-when-importing-models/12365/2)
 to respond.

You are receiving this because you enabled mailing list mode.

To unsubscribe from these emails, [click 
here](https://discuss.tvm.apache.org/email/unsubscribe/878a6dd960e3a8c248645ba88065fe9409bf2f3d5657f5dc150c9cc62013162a).

Reply via email to