Add helper function update_inputs_outputs_dims to tools#2148
Merged
wschin merged 20 commits intoonnx:masterfrom Sep 13, 2019
Merged
Add helper function update_inputs_outputs_dims to tools#2148wschin merged 20 commits intoonnx:masterfrom
wschin merged 20 commits intoonnx:masterfrom
Conversation
wschin
reviewed
Jul 4, 2019
wschin
reviewed
Jul 4, 2019
wschin
reviewed
Jul 4, 2019
Member
|
Please sign the updated CLA |
gramalingam
reviewed
Jul 22, 2019
wschin
reviewed
Sep 11, 2019
wschin
approved these changes
Sep 11, 2019
Collaborator
wschin
left a comment
There was a problem hiding this comment.
LGTM. Just one last question for import pdb.
nit: rephrasing Co-Authored-By: Wei-Sheng Chin <wschin@outlook.com>
ff71cce to
10c6225
Compare
jcwchen
pushed a commit
to jcwchen/onnx
that referenced
this pull request
Sep 23, 2020
* Add a helper function update_inputs_outputs_dims to tools * fix link to doc * newline at the end * add test for tools * doc props * nit * ci tests * ci tests 2 * accept shapes by dictionary inputs and add more error handling * Update onnx/tools/update_model_dims.py nit: rephrasing Co-Authored-By: Wei-Sheng Chin <wschin@outlook.com> * remove debug line * fix type annotation * fix annotation * fix annotation * fix annotation * fix flake8
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The function updates the dimension of the inputs and outputs of the model, to the provided values in the parameter. These values can be either static or dynamic. This can be useful for extending models with fixed input size to support dynamic input sizes.