Skip to content

Commit

Permalink
CI: fix lint check
Browse files Browse the repository at this point in the history
  • Loading branch information
jakevdp committed Aug 7, 2024
1 parent de02988 commit 1b339a5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion jax/_src/nn/functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -919,7 +919,7 @@ def _ensure_4d(t):
if dims_to_add > 0:
return jnp.expand_dims(t, axis=tuple(range(dims_to_add)))
return t

query = _ensure_4d(query)
key = _ensure_4d(key)
value = _ensure_4d(value)
Expand Down

0 comments on commit 1b339a5

Please sign in to comment.