Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support symbolic dimension in Scan subgraph outputs #22

Merged

Conversation

skottmckay
Copy link
Contributor

No description provided.

If the output has a symbolic dimension
  * Infer the shape if it is a loop state variable as we have the input value, and the shape from the subgraph output must match
  * Use a temporary MLValue for the first subgraph execution if it is a subgraph output with a symbolic dimension.
    * After the first execution make the overall output shape concrete and allocate the full output buffer.
    * Use slices of the full output buffer for all other subgraph executions to avoid copies.

Add unit test to validate.
@skottmckay skottmckay requested review from a team and gramalingam November 25, 2018 22:32
gramalingam
gramalingam previously approved these changes Nov 26, 2018
@skottmckay skottmckay merged commit 6982325 into master Nov 26, 2018
@skottmckay skottmckay deleted the scmckay/SupportUnknownDimensionInScanSubgraphOutputs branch November 28, 2018 00:45
tmccrmck pushed a commit to tmccrmck/onnxruntime that referenced this pull request Aug 28, 2019
…sult

Fix random prediction results and replace camel-case names with snake-case names
@lfch lfch mentioned this pull request Oct 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants