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

Does relay/nnvm support dynamic shape? #3076

Closed
minminsun opened this issue Apr 23, 2019 · 2 comments
Closed

Does relay/nnvm support dynamic shape? #3076

minminsun opened this issue Apr 23, 2019 · 2 comments

Comments

@minminsun
Copy link
Contributor

I noticed that models defined under python/tvm/relay/testing/ all have fixed input shapes. But in real applications some dimensions, e.g. the batch dimension, could vary from one request to another.
In Tensorflow, the dynamic shape is supported by specifying None for some dimensions of a placeholder's shape. So I'm curious does relay or nnvm have such support too?

@wweic
Copy link
Contributor

wweic commented Apr 23, 2019

Hi @minminsun, There is RFC for dynamic shape in Relay(#3042). For dynamic rank, algebraic data type can be used to support it to some degree. https://discuss.tvm.ai/ is the forum for general questions/discussions :-)

@minminsun
Copy link
Contributor Author

@wweic many thanks!

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

2 participants