Documentation for older API versions #10060
Unanswered
ingmarschuster
asked this question in
Q&A
Replies: 2 comments 1 reply
-
We don't currently maintain versioned documentation, but that particular functionality had a deprecation cycle with a warning for several versions. You can use There's a bit more information in the changelog entry discussing this utility's removal: https://github.com/google/jax/blob/main/CHANGELOG.md#jax-032-march-16-2022 |
Beta Was this translation helpful? Give feedback.
0 replies
-
FYI, there is the implementation of class _Indexable(object):
"""Helper object for building indexes for indexed update functions.
This is a singleton object that overrides the :code:`__getitem__` method
to return the index it is passed.
>>> jax.ops.index[1:2, 3, None, ..., ::2]
(slice(1, 2, None), 3, None, Ellipsis, slice(None, None, 2))
"""
__slots__ = ()
def __getitem__(self, index):
return index
#: Index object singleton
index = _Indexable() |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I've been using
jax.ops.index[x,y,z]
in my code, which broke after updating. However, there seems to be no documentation for old Jax version, which would be very helpful in order to fix my code. Where can I find this?Yours
Ingmar
Beta Was this translation helpful? Give feedback.
All reactions