You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can use jax.lax.axis_index(axis) to get your index along a mesh axis without needing access to the mesh object. However, there does not seem to be a way to get access to the size of a mesh axis through the public API.
You can use
jax.lax.axis_index(axis)
to get your index along a mesh axis without needing access to themesh
object. However, there does not seem to be a way to get access to the size of a mesh axis through the public API.We have been doing:
but
jax.interpreters
is not part of the public API.Should such a function be added? Or are we doing something wrong if we think we sometimes need it?
The text was updated successfully, but these errors were encountered: