Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Artur-Galstyan authored Mar 2, 2024
1 parent e4973ac commit bcf2728
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,8 @@ a minimum example to setup MNIST:
```python

import jax
from jaxonloader import get_mnist, make

from jaxonloader import get_mnist
from jaxonloader import make
key = jax.random.PRNGKey(0)

train, test = get_mnist()
Expand All @@ -30,7 +29,7 @@ train, test = get_mnist()
train_loader, index = make(
train,
batch_size=4,
shuffle=False,
shuffle=True,
drop_last=True,
key=key,
jit=True
Expand Down

0 comments on commit bcf2728

Please sign in to comment.