-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Add .at[].subtract #23933
Comments
This sounds reasonable, even though you can do @jakevdp wdyt? |
I think this is reasonable. We could do it the easy way, with something like this:
but as @superbobry points out, this would fail for unsigned types. The full solution is a bit more work: it would involve defining a Line 382 in 3c25da2
The only really involved pieces there would be the |
The new primitive is used for in-place subtract and update. Closes #23933 PiperOrigin-RevId: 679670877
The new primitive is used for in-place subtract and update. Closes #23933 PiperOrigin-RevId: 679670877
The new primitive is used for in-place subtract and update. Closes #23933 PiperOrigin-RevId: 679670877
The new primitive is used for in-place subtract and update. Closes #23933 PiperOrigin-RevId: 679670877
The new primitive is used for in-place subtract and update. Closes #23933 PiperOrigin-RevId: 679670877
Feature request: Add a
subtract
method to jax.numpy.ndarray.at.The text was updated successfully, but these errors were encountered: