Skip to content

Commit

Permalink
Fix formatting of lax.while_loop and lax.fori_loop doc comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
hawkinsp committed Feb 18, 2019
1 parent a44d248 commit 97fb6f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions jax/lax.py
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ def while_loop(cond_fun, body_fun, init_val):
Returns:
The output from the final iteration of body_fun, of type `T`.
The semantics of `while_loop` are given by this Python implementation:
The semantics of `while_loop` are given by this Python implementation::
def while_loop(cond_fun, body_fun, init_val):
val = init_val
Expand Down Expand Up @@ -648,7 +648,7 @@ def fori_loop(lower, upper, body_fun, init_val):
Returns:
Loop value from the final iteration, of type T.
The semantics of `fori_loop` are given by this Python implementation:
The semantics of `fori_loop` are given by this Python implementation::
def fori_loop(lower, upper, body_fun, init_val):
val = init_val
Expand Down

0 comments on commit 97fb6f1

Please sign in to comment.