Skip to content

Commit

Permalink
Fix head comment: was referring to nonexistent parameters.
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 729231457
  • Loading branch information
lrdxgm authored and Google-ML-Automation committed Feb 20, 2025
1 parent 6b39eb6 commit 08de012
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jax/_src/lax/slicing.py
Original file line number Diff line number Diff line change
Expand Up @@ -939,7 +939,7 @@ def index_in_dim(operand: Array | np.ndarray, index: int, axis: int = 0,
keepdims: bool = True) -> Array:
"""Convenience wrapper around :func:`lax.slice` to perform int indexing.
This is effectively equivalent to ``operand[..., start_index:limit_index:stride]``
This is effectively equivalent to ``operand[..., index]``
with the indexing applied on the specified axis.
Args:
Expand Down

0 comments on commit 08de012

Please sign in to comment.