Skip to content

Onnx Export change to allow for multiple rows #4783

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

Merged
merged 2 commits into from
Feb 6, 2020

Conversation

michaelgsharp
Copy link
Contributor

Changed ONNX export from always exporting the dimensions as 1 to -1. This lets ONNX Runtime determine the dimension when the data is passed to it, allowing for batching to be done if desired. ML.NET doesn't support batching, but this allows the model to be run directly in ORT using batching while still supporting the streaming approach that ML.NET uses.

@michaelgsharp michaelgsharp requested review from codemzs, harishsk, ganik and a team February 5, 2020 01:01
@michaelgsharp michaelgsharp self-assigned this Feb 5, 2020
@michaelgsharp michaelgsharp merged commit eed6456 into dotnet:master Feb 6, 2020
@michaelgsharp michaelgsharp deleted the onnx-export-allow-batch branch February 6, 2020 18:57
@ghost ghost locked as resolved and limited conversation to collaborators Mar 19, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants