Skip to content

Commit 008c25a

Browse files
committed
Fix formatting in the docs for transposing pytrees
1 parent 42a0d55 commit 008c25a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/working-with-pytrees.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -490,7 +490,7 @@ This section covers some of the most common patterns with JAX pytrees.
490490

491491
### Transposing pytrees with `jax.tree.map` and `jax.tree.transpose`
492492

493-
To transpose a pytree (turn a list of trees into a tree of lists), JAX has two functions: {func} `jax.tree.map` (more basic) and {func}`jax.tree.transpose` (more flexible, complex and verbose).
493+
To transpose a pytree (turn a list of trees into a tree of lists), JAX has two functions: {func}`jax.tree.map` (more basic) and {func}`jax.tree.transpose` (more flexible, complex and verbose).
494494

495495
**Option 1:** Use {func}`jax.tree.map`. Here's an example:
496496

0 commit comments

Comments
 (0)