mirror of
https://github.com/ROCm/jax.git
synced 2025-04-14 10:56:06 +00:00
Fixed printing order of results in jax.debug.print documentation.
This commit is contained in:
parent
d8953e5311
commit
56285aec6b
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user