Skip to content

Commit

Permalink
Doc fix
Browse files Browse the repository at this point in the history
Fixes #604
  • Loading branch information
zou3519 committed Apr 11, 2022
1 parent 665a2fd commit fb6f749
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/ux_limitations.rst
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ to occur:
y = torch.randn(3)
expected = x + y

# Raises an error
# Does not raise an error
vmap(f, in_dims=(0, 0))(x, y)
assert torch.allclose(x, expected)

Expand Down

0 comments on commit fb6f749

Please sign in to comment.