[ONNX] Fix ShuffleNetV2 model export issue. (#3158)
* Fix an issue that ShuffleNetV2 model is exported to a wrong ONNX file if dynamic_axes field was provided.
* Add a ut for the bug fix.
* Fix flake8 issue.
* Don't access each element in x.shape, use x.size() instead.
Co-authored-by:
Vasilis Vryniotis <datumbox@users.noreply.github.com>
Showing
Please register or sign in to comment