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

Limited implementation of ARange Op in JAX #68

Open
Tracked by #1425
brandonwillard opened this issue Oct 1, 2020 · 1 comment
Open
Tracked by #1425

Limited implementation of ARange Op in JAX #68

brandonwillard opened this issue Oct 1, 2020 · 1 comment
Labels
help wanted Extra attention is needed JAX Involves JAX transpilation

Comments

@brandonwillard
Copy link
Member

It looks like the jax.numpy version of arange doesn't take symbolic inputs (like reshape in #43). Currently, the test for that Op is marked as an expected failure.

Perhaps we can put together an implementation using jax.lax?

@rlouf
Copy link
Member

rlouf commented Dec 10, 2022

jax.numpy.arange and jax.numpy.reshape only accept concrete values respectively for their start, stop, step and shape parameters. Concrete values are either constants or the output of a Shape operator or combination of such outputs with Python operator. This is being refactored in #1338.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed JAX Involves JAX transpilation
Projects
None yet
Development

No branches or pull requests

2 participants