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

Replace jnp.row_stack with jnp.vstack #340

Merged
merged 1 commit into from
Aug 24, 2023
Merged

Conversation

jakevdp
Copy link
Contributor

@jakevdp jakevdp commented Aug 23, 2023

Why? Following NumPy's NEP 52 API cleanup, np.row_stack is being removed, as it is a simple alias of np.vstack. JAX is following suit by deprecating jnp.row_stack in jax-ml/jax#17233. Note that jnp.vstack is an identical replacement.

Why? Following NumPy's
[NEP 52](https://numpy.org/neps/nep-0052-python-api-cleanup.html) API cleanup,
np.row_stack is being removed, as it is a simple alias of np.vstack. JAX is
following suit by deprecating jnp.row_stack in
jax-ml/jax#17233.
Note that jnp.vstack is an identical replacement.
@murphyk murphyk merged commit 95a09ba into probml:main Aug 24, 2023
2 checks passed
@jakevdp jakevdp deleted the row_stack branch August 24, 2023 18:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants