Skip to content

Commit

Permalink
Merge pull request #3265 from peterdavidfagan:typo-fix-dropout
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 555055616
  • Loading branch information
Flax Authors committed Aug 9, 2023
2 parents 976906f + f6427e2 commit a7bb19c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/guides/dropout.rst
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Split the PRNG key

Since dropout is a random operation, it requires a pseudorandom number generator
(PRNG) state. Flax uses JAX's (splittable) PRNG keys, which have a number of
desirable properties for neutral networks. To learn more, refer to the
desirable properties for neural networks. To learn more, refer to the
`Pseudorandom numbers in JAX tutorial <https://jax.readthedocs.io/en/latest/jax-101/05-random-numbers.html>`__.

**Note:** Recall that JAX has an explicit way of giving you PRNG keys:
Expand Down Expand Up @@ -291,4 +291,4 @@ More Flax examples that use Module ``make_rng()``
*************************************************

* Defining a prediction token in a decoder of a
`sequence-to-sequence model <https://github.com/google/flax/blob/main/examples/seq2seq/models.py>`__.
`sequence-to-sequence model <https://github.com/google/flax/blob/main/examples/seq2seq/models.py>`__.

0 comments on commit a7bb19c

Please sign in to comment.