Skip to content

Commit 800f903

Browse files
Merge pull request jax-ml#25686 from Mikcl:docs/working-with-pytrees-formatting
PiperOrigin-RevId: 711448394
2 parents 726950b + 008c25a commit 800f903

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)