-
Notifications
You must be signed in to change notification settings - Fork 132
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 dim tag with static shape and dyn_size_ext #1139
Comments
Note there is already Note that the
We cannot really properly distinguish those cases. |
We might need to introduce a new flag, specifically for this, like |
Note, I'm already continually fixing any Note that those checks don't necessarily always map to |
We also need to be careful in |
dyn_size_ext
means that it has different sequence lengths per batch entry (or whateverdyn_size_ext
shape is).Currently this implies a dynamic shape (
None
dimension), and vice versa, a dynamic shape (None
dimension) implies that we have somedyn_size_ext
.We should remove this assumption, and allow a static shape together with
dyn_size_ext
. It's mostly already supported.This is needed for example for TPU (see #1162) or also for TFLite or ONNX in some cases.
The text was updated successfully, but these errors were encountered: