-
Notifications
You must be signed in to change notification settings - Fork 3.7k
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
Introduce disable_dynamic_shapes
experimental flag; adding its use into to_dense_batch function
#7246
Introduce disable_dynamic_shapes
experimental flag; adding its use into to_dense_batch function
#7246
Conversation
b397d85
to
f98c31a
Compare
Codecov Report
@@ Coverage Diff @@
## master #7246 +/- ##
==========================================
+ Coverage 91.42% 91.50% +0.08%
==========================================
Files 446 446
Lines 24827 24862 +35
==========================================
+ Hits 22697 22750 +53
+ Misses 2130 2112 -18
📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more |
f98c31a
to
3c1e5bb
Compare
disable_dynamic_shapes
experimental flag; adding its use into to_dense_batch function
a92cb50
to
da67240
Compare
da67240
to
0a048d8
Compare
into to_dense_batch function. There are devices that do not support dynamic shapes - (compiling and optimizing only static graphs). The ability to set and read the "disable_dynamic_shapes" flag allows implementors to provide static shape-friendly implementations and report user-friendly messages if it is impossible to avoid using dynamic shapes.
0a048d8
to
b03d33e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks beautiful, thank you!
There are devices that do not support dynamic shapes - (compiling and optimizing only static graphs). The ability to set and read the "disable_dynamic_shapes" flag allows implementors to provide static shape-friendly implementations and report user-friendly messages if it is impossible to avoid using dynamic shapes.