Skip to content
Discussion options

You must be logged in to vote

This is expected: the reps argument must be a sequence of static integers (because the size of the output array is directly related to the values in reps). Within a JIT context, all JAX arrays are non-static, so you wouldn't be able to pass a JAX array to reps.

We need to update the docs here; reps is not array_like, but rather a sequence of integers. We'll get to that as part of #21461, but haven't done jax.numpy.tile yet.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ethanleeman
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants