Skip to content

Commit

Permalink
Fixed printing order of results in jax.debug.print documentation.
Browse files Browse the repository at this point in the history
  • Loading branch information
suraj-ta committed Feb 28, 2025
1 parent d8953e5 commit 6caf447
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/debugging/print_breakpoint.md
Original file line number Diff line number Diff line change
Expand Up @@ -91,8 +91,8 @@ def f(x):
jax.debug.print("x: {}", x)
return x
jax.pmap(f)(xs)
# Prints: x: 1.0
# x: 0.0
# Prints: x: 0.0
# x: 1.0
# OR
# Prints: x: 1.0
# x: 0.0
Expand Down

0 comments on commit 6caf447

Please sign in to comment.