google-deepmind / dm-haiku

JAX-based neural network library
https://dm-haiku.readthedocs.io
Apache License 2.0
2.91k stars 231 forks source link

Update MNIST examples to do perfect shuffle then repeat #631

Closed copybara-service[bot] closed 1 year ago

copybara-service[bot] commented 1 year ago

Update MNIST examples to do perfect shuffle then repeat

When loading a dataset, repeat before shuffle has semantics that are harder to reason about compared to shuffle and then repeat. In addition, the dataset is small enough for us to do perfect shuffling.

google-cla[bot] commented 1 year ago

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.