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

How to handle dynamic dimension tensors #196

Open
xd009642 opened this issue Nov 11, 2023 · 0 comments
Open

How to handle dynamic dimension tensors #196

xd009642 opened this issue Nov 11, 2023 · 0 comments

Comments

@xd009642
Copy link

This wasn't clear from the docs or the API types. In Session::run InputTensor and OutputTensor are used for inference but these only contain 1D values and no way to provide a shape for the tensor. If I have dynamic axes (batch size, sequence length etc). How can I specify the shape and also for the output get the output shape (which is also dynamic)?

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

No branches or pull requests

1 participant