-
While tracing the function test at :1, this concrete value was not available in Python because it depends on the value of the arguments to test at :1 at flattened positions [1], and the computation of these values is being staged out (that is, delayed rather than executed eagerly). Is there a way to do it liske this? |
Beta Was this translation helpful? Give feedback.
Answered by
jheek
Nov 19, 2020
Replies: 1 comment 1 reply
-
The issue here is that b affects the shape of the result returned by
Note however that test will be re-compiled if you pass in a different value for b |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
L-Hugh
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The issue here is that b affects the shape of the result returned by
dynamic_slice
. You can do this by declaringb
as a static argument:Note however that test will be re-compiled if you pass in a different value for b